Rename toWebCoreString*() utility methods to toCoreString*()

Rename toWebCoreString*() utility methods to toCoreString*() as WebCore no
longer exists.

R=haraken, pfeldman
BUG=327338

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163759 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactor run-bindings-tests into 2 phases (generate + compare)

The new excess file check made the compare phase O(n^2) (i.e., slowed down
r-b-t), due to compare being done for the whole directory for each IDL file.

This fixes this bug, and simplifies the code, by splitting into 2 phases:
generate and compare.

This also makes it easier to debug the code generator, as r-b-t fails
immediately on crashes, rather than crashing repeatedly and then
complaining about diffs (due to missing files).

Followup to:
Add check to run-bindings-tests for excess files
https://codereview.chromium.org/112463002/

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163760 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations API: Start implementation of Element.animate().

This is the first in a series of patches to implement the Web Animations API (see http://dev.w3.org/fxtf/web-animations/).

Please note that this work is being completed behind a runtime flag.

While the Web Animations model is now used to support CSS Animations and Transitions, there are some important differences between that use and the API:
* CSS Animations and Transitions operate on computed style, and are inherently resolution-dependent mechanisms. Web Animations is style resolution independent.
* CSS Animations and Transitions accept the use of -webkit prefixed properties. Following the principle of deprecating prefixing for new APIs, the Web Animations JS API does not. Note that this *may* require us to gate release of this feature on unprefixing of -webkit-transform.

As an initial patch, this code takes some shortcuts that will eventually be replaced. Most notably, we temporarily make use of StyleResolver for the purpose of parsing CSS Strings into usable values. This will be switched out in the future in favor of an approach that doesn't resolve styles at the same time.

BUG=327564

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163761 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: [Constructor] arguments

Main structural point of this CL is that interface Python code and Jinja
template call method code and template.
(interface.cpp imports methods.cpp, v8_interface.py imports v8_methods.py)

This is because (IDL) constructors are a kind of (C++) method, so there
is considerable shared code, notably in argument handling, which is very
complicated (and will get moreso with more type checking).

This also involves refactoring out an argument macro, which
simplifies methods.cpp (generate_method fits on one screen now).

BUG=239771
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163762 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Select CPU profile when it is finished

BUG=327633
R=loislo@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163763 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Timeline: fix text in record details shown as [object Text]

R=pfeldman

BUG=327882

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

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