Enables opacity, transform and filter animations to be run by the compositor.

CSSPendingAnimations is introduced to manage the synchronized start of
compositor and main-thread animations.

RenderLayerCompositor is updated to query the Web Animations model for cases
where it should composite a layer.

ActiveAnimations can be queried by property to test whether animations are
running, or running on the compositor.

Note that these changes are still behind the WebAnimationsCSS runtime flag.

There will be some subsequent changes to address missing functionality:
* pauseForTesting is not wired up for animations on the compositor
* CSS Transitions do not start from an up to date value when the target is updated
* layers are not always composited as they are in the current implementation

BUG=311423,298211

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162269 bbb929c8-8fbe-4397-9dbb-9b2b20218538
XHR: separate delayed progress event flushing from dispatching of new.

The throttled delivery of progress events may defer progress event
delivery so as to pace their dispatching down to the frequency that
the spec suggests. When dispatching a later 'readystatechange' event,
if no deferred progress event was present, a new one would be created
and dispatched. Achieving the same event sequence despite the
lazy/deferred delivery of 'progress' events.

There are two steps involved here: the potential expedition of the
deferred progress event and the creation & delivery of a new one.
Tease these two notions apart here by allowing only flushing of
a deferred progress event to happen.

This weaker form of flushing is needed by follow-on changes, which
alters how these 'progress' progress events are dispatched wrt the
'readystatechange' XHR event when handling request errors and aborts.

R=
BUG=315488

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162270 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: Remove [CallWith] from interface SourceBufferList

[CallWith] is not applicable to interfaces, and is a nop;
removing it doesn't change the code.
Further, adding [CallWith=ExecutionState] to the individual members
(attributes/methods) in this interface breaks them, as they don't expect
that argument.

This is the only use of [CallWith] on an interface.

BUG=239771

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162271 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Restore selected profile type after reopening DevTools

Last selected profile type will be selected after relauncing DevTools.

BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162272 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r162243

http://src.chromium.org/viewvc/blink?view=revision&revision=162243

BUG=309760
TBR=zmo@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162273 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[SVG] Static tearoffs should mark contextElement when instantiated.

Tearoffs must mark their contextElement so that they are never marked as partially-dependent. The animated tearoffs have done this, but static tearoffs didn't. This patch fixes the issue.

BUG=320762

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162274 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: Remove extended attributes from typedefs

Simplification; no changes to generated code of real IDL files.

Extended attributes are no longer allowed on typedefs,
per latest ED.
We don't use them in any real IDL files (only 1 test), and they
significantly complicate the parser.
This CL removes them, and thus can also remove the IdlTypedef class;
typedefs are now just a simple string -> string dict.

Editor's Draft (latest):
http://heycam.github.io/webidl/#idl-typedefs

Candidate Recommendation (old):
http://www.w3.org/TR/WebIDL/#idl-typedefs

BUG=239771

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162275 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL cleanup: remove blank lines in extended attribute lists

Another minor cleanup (simplifies grepping and improves style).

TBR=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162276 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSSRegions] Model regions functionality using anonymous regions

Allow any non-replaced block to behave like a region. When an element is styled with the -webkit-flow-from
property, instead of making the renderer a RenderRegion, we let the original renderer be created the same
way and we add a region block as an anonymous child for the renderer.
The anonymous child, instance of new RenderNamedFlowFragment class, will be responsible for the fragmentation
of the named flow thread content.

A RenderBlockFlow will keep a reference to a RenderNamedFlowFragment (RenderRegion) inside its rare data
structures.

In the long term, RenderFlowThread and RenderRegion will implement basic fragmentation functionality.
The specialization classes RenderNamedFlowThread, based on RenderFlowThread, and RenderNamedFlowFragment,
based on RenderRegion, will implement the CSSRegions functionality.

BUG=317834

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162277 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations CSS: Creating toXXXTimingFunction methods and converting Blink to use them.

The DEFINE_TIMING_FUNCTION_TYPE_CASTS macro checks types and is generally the
preferred method in blink now.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162278 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools  Improve findability of console drawer.




BUG=314405

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162279 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: rename object => wrapper in toActiveDOMObject

Per haraken's request here:
https://codereview.chromium.org/74783008/#msg2

BUG=239771
TBR=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162280 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Migrate paintList to using RenderLayerStackingNodeIterator

The function was an easy conversion that was forgotten in the
migration to the new iterator. While touching the function,
renamed it and updated the signature to avoid passing the
RenderLayerStackingNodeIterator.

BUG=302120

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162281 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add EmbeddedWorker interfaces in Blink API

Rough design doc: https://docs.google.com/a/chromium.org/document/d/1HzjaXttZcRr6cE7oINMzvlVskbGpGnB_Tn37ayjST9Q/edit

Chromium-side patch: https://codereview.chromium.org/54573002/

BUG=313530

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162282 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Don't recommend gzip cached resources in audit.

Cached resources loose some information, e.g. that they were compressed.
So we are to exclude them from 'gzip' recommendations.

BUG=314096
R=aandrey@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162283 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make Custom Element layout tests run on an attached Android device.

BUG=234509

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

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