DevTools: Speed-up Object.values.

The current version is 20% slower than it could be.
Also it produces garbage.

BUG=none
TEST=LayoutTests/inspector/*
R=yurys@chromium.org

Review URL: https://codereview.chromium.org/16881012

git-svn-id: svn://svn.chromium.org/blink/trunk@152710 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Binding] remove unused #if

Remove directives which check ENABLE_TEXT_NOTIFICATIONS_ONLY
because ENABLE_TEXT_NOTIFICATIONS_ONLY is not in
Source/core/features.gypi

Generated code is exactly same as before.

R=haraken@chromium.org
BUG=239771
TEST=No tests. Refactoring.

Review URL: https://chromiumcodereview.appspot.com/17315004

git-svn-id: svn://svn.chromium.org/blink/trunk@152711 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Frontend should load resources with DocumentThreadableLoader, not XMLHttpRequest

Currently front-end loads resources with cross origin XMLHttpRequest from backend  (introduced in https://codereview.chromium.org/16199002).
This does not work when inspected page is paused because XMLHttpRequest is an ActiveDOMObject.
This patch makes inspector use DocumentThreadableLoader to load resources.
Please note that we still need to make a setDefersLoading(true) call on loader to make sure
loading is not deferred on pause.
Removed XMLHttpRequest::sendForInspector method as it is not used anymore.

BUG=250147
R=japhet@chromium.org, pfeldman@chromium.org

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152707

Review URL: https://chromiumcodereview.appspot.com/17101012

git-svn-id: svn://svn.chromium.org/blink/trunk@152712 bbb929c8-8fbe-4397-9dbb-9b2b20218538
MediaStream API: Patch 1 of removing MediaStreamSourcesQuery
Chromium never used this so it's high time to clean it away.

BUG=

Review URL: https://chromiumcodereview.appspot.com/17390005

git-svn-id: svn://svn.chromium.org/blink/trunk@152713 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Binding] replace #if with [Conditional] in IDL

This patch replace #if with [Conditional] in IDL
to remove preprocess phase prior to parsing IDL.

This patch contains straightforward replacements.
Some irregular ones remain.

R=haraken@chromium.org
BUG=239771
TEST=TestInterface.cpp

Review URL: https://chromiumcodereview.appspot.com/17421004

git-svn-id: svn://svn.chromium.org/blink/trunk@152714 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web MIDI: MIDIAccessor platform implementation and Blink API

This change implements MIDIAccessor in platform in order to access
platform dependent MIDI handling from MIDIAccess and MIDIPort.
It must be exposed as Blink API.

TEST=none
BUG=163795

Review URL: https://chromiumcodereview.appspot.com/17155009

git-svn-id: svn://svn.chromium.org/blink/trunk@152715 bbb929c8-8fbe-4397-9dbb-9b2b20218538