Added an assertion verifying that a Canvas2DLayerBridge is not deleted
when still in the Canvas2DLayerManager list.

In order to be able to call Canvas2DLayerManager::isInList,
the method has been changed from private to public.

BUG=385141

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176442 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Extract CSS resources preloading from css agent to page agent controlled loader.

R=pfeldman
BUG=354447

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176443 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Add groups to device select.

This also fixes small UI problems.

BUG=327641

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176444 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [MediaQueryInspector] Compute media query length on backend

This patch pulls computed media query lengths values from backend.
Note: it is ok to create multiple MediaValuesDynamic objects because
they don't have any internal state and serve as a helper wrappers.

BUG=382996

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176445 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Enable Scroll Animation for RenderLayerScrollableArea"

This reverts commit 6fd2fdfc9696ee205daf9a43d07c49d30c246aad.

Conflicts:
	LayoutTests/TestExpectations
	Source/core/page/PageAnimator.cpp
	Source/core/rendering/RenderLayerScrollableArea.cpp

BUG=383946

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176446 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: fix for test inspector-protocol/page/enable-disable.html

BUG=316349

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176447 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update XMLHttpRequest use counter to count workers

Move UseCounter to createRequest() and use executionContext
instead of document to count XHR sync requests from workers once
http://code.google.com/p/chromium/issues/detail?id=376039 is fixed.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176448 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Bindings: Add ScalarValueString support

Spec:
http://encoding.spec.whatwg.org/#type-scalarvaluestring

Followup to:
Add ByteString support to IDL bindings
https://codereview.chromium.org/309553002/

Encoding API: Handle null input string
https://codereview.chromium.org/313393005/

BUG=379009
TEST=fast/encoding/api/utf16-surrogates-encode.html
TEST=fast/js/webidl-type-mapping.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176449 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark flaky battery-status tests in TestExpectations

TBR=timvolodine@chromium.org
BUG=384396

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176450 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix invalid syntax for JS setters in tests

ECMAScript setters require exactly one parameter.
We had a bunch of tests with zero parameters which
is not valid and should have been SyntaxErrors in
the first place.

BUG=383596

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176451 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix RenderLayer::scrollsWithRespectTo().

scrollsWithRespectTo() currently tries to match up
containing blocks by keeping track of RenderObjects.
However, when it goes to check if a containing block
is a scrolling div, it actually checks the enclosing
RenderLayer. It doesn't make sense to do this since
RenderLayers and RenderObjects don't line up
one-to-one.

Since this function only cares about scrollability,
and the RenderLayer is the object that handles an
elements overflow-scrollability, it makes more
sense to keep track of containing blocks by storing
the enclosingLayer() instead of the RenderObject
itself.

BUG=384642

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176452 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Adding Blink-side 3d Box and Bounds calculations to TransformOperations



BUG=280139

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176453 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: untangle paint profiler for better reuse

Make PaintProfilerView and PaintProfilerCommandLogView independent on
each other, make them both children of LayerPaintProfilerView and remove
layer-specific stuff into the latter, so that the former two operate on
just snapshots.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176454 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add tracing to ResourceLoadPriorityOptimizer::updateAllImageResourcePriorities

I discovered while looking into LayoutState's fast
coordinate mapping that we can potentially do a lot
of localToAbsolute calls to determine if images are
onscreen in ResourceLoadPriorityOptimizer. These
calls are out-of-band from the RenderTree walk
done during layout, so don't benefit from the fast-
lookups. That made me believe the function may
actually be expensive.

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

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