Be more strict about creating user gestures for plugins.

We should only create a user gesture if the current input event matches
the handled event. Also, we should not create a new user gesture, in
case there is already a consumed user gesture on the stack.

BUG=350831
TEST=plugins/user-gesture.html, fast/events/popup-blocked-from-wrong-event.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168827 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations: Add InterpolationEffect class.

This patch introduces the InterpolationEffect class, which represents a
collection of primitive animations along with local timing functions and
extents.

This class allows KeyframeEffectModels to be expressed in terms of
Interpolations. This code is not yet in use - see future patches.

BUG=346495

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168828 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "id of iframe incorrectly sets window name"

This CL broke browser_tests in Chromium OS.
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%282%29/builds/22180

TBR=cdumez

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168829 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: move WorkerGlobalScope to oilpan's heap.

This moves the WorkerGlobalScope object and the objects derived from it
to the Oilpan heap. This also includes the Console, Location and
Navigator interface objects that are attached to the worker global scope.

R=haraken@chromium.org,ager@chromium.org,abarth@chromium.org
BUG=340522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168830 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactor IDL type handling into idl_types.py

Preliminary step in moving to using IdlType objects for types,
instead of strings, to allow more complex and flexible type handling.

Ultimately we will be able to have nested types, and type-handling functions
will be methods on the IdlType object, which simplifies the interface.


Background:
Currently IDL type handling is spread across idl_definitions.py
and v8_types.idl, and uses strings internally (except for union types).

We need more complex type handling, e.g.,
a nullable union of types including a callback function.
(for Web Animations)
...and want to move nullability into the type (instead of attribute,
operation, or argument), e.g., for use by Closure and for type-checking
(and for correctness, b/c nullability is a property of the type).

Conveniently, I've written an existing IdlType class, b/c we need this
flexibility for typedef resolution.

This is a preliminary CL, just moving the code into one module; it's just:
* move 2 files into 1
* update calls

In a followup, I'll replace the existing string handling with objects,
reusing the existing class.
(Again, this will be primarily reorganization and updating the calls;
once it's OO, we won't need all the imports and namespaces
on the functions!)
After that I'll start adding features, like moving nullability into the type.

BUG=345137
BUG=345503
R=haraken

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

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