Updated Blink to forthcoming Skia split of SkDevice into SkBaseDevice and SkBitmapDevice

R=senorblanco@chromium.org
BUG=278148

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156697 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make possible to construct an AnimationEvent.

This implements the possibility to construct 
an AnimationEvent yourself.

This patch doesn't implement yet the dispatching of it.

Note that I had to rename the AnimationEvent class to WebKitAnimationEvent.
This is really unfortunate but I couldn't find a better way. 
EventAliases could potentially support my use case (aliasing the unprefixed 
to the prefixed) but unfortunately for it to work the 
WebKitAnimationEvent.idl must be backed by a class of the same name 
(at the time of the generation from EventAliases.in the generator is 
not aware yet of implementedAs defined in the IDL of
WebKitAnimationEvent.idl). I also can't alias the prefixed to the 
unprefixed event just like the TransitionEvent because we have to 
honor the runtime flag. When the runtime flag will be removed it 
will be easy to do just like the Transitions and remove the 
WebKit prefix everywhere.

BUG=234610

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156698 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: keep hierarchy for CodeMirror's js files

This patch modifies build system so that CodeMirror javascript files
stay in 'cm/' folder after build. This negates window.flattenImports
usage in importScript function, but the flag is still needed for CSS
imports.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156699 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Front-end for platform font inspection

This patch adds UI for the 'platform font inspection' feature.

BUG=135489

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156700 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: expose layer compositing reasons and paint count via layer tree agent

This part only includes back-end and model changes.

- keep compositing reasons in GraphicsLayer;
- fix paint count calculation in GraphicsLayer (was always 0);
- drop {setShow,isShowing}RepaintCounter, they're unused;
- expose GraphicsLayer::replicatedLayer(), pretend it's a parent for replica layers.

BUG=
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156701 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: use generic way to add "Reveal in Elements panel" to context menu

We used to add "Reveal in Elements panel" in ElementsTreeOutline. Let's instead
dispatch AppendApplicableItems with DOMNode from ElementsTreeOutine and handle
such calls in Elements panel. This would allow other panels to have DOM elements
as a target in context menu commands.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156702 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: support screencast in remote debugging only.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156703 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Set <dialog> width and height to 'fit-content'.

As per the spec: http://html5.org/r/8151

BUG=140205
TBR=tkent

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156704 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Check WebSocket close code sent on unload

CL http://crrev.com/23201008 introduced sending the close code to the server on page navigation or page close with 
active WebSocket.
This CL modifies the test cases to verify the close code sent by the server is 1001.

BUG=276107
R=tyoshino

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156705 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: fix source maps loading from file scheme urls.

BUG=277729

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156706 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Do not reveal execution line after script editing.

R=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156707 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove 'String::append' and move to StringBuilder::append

BUG=268281

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156708 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable check-webkit-style for IDL compiler reference output

The IDL compiler reference output (used for testing) is currently checked
for WebKit (Blink) style, though it is in fact out of compliance
(grandfathered in), which is making it difficult to implement checks in
the new Python generator or to refactor the tests.

Making the generated output conform to style significantly increases the
complexity of the code generator and decreases *its* readability, which
is of more concern than readability of the machine-generated code.
(It makes it easier for real bugs to creep into the code generator.)

Thus we would like to turn off the checks.

The proximate line that caused an error was:
COMPILE_ASSERT(0 == TestConstants::CONST_VALUE_0 ...
...which triggers a "readability/comparison_to_zero" error.

This code is already in the tree, but showed up on refactoring.
(It's because a constant in fact has value 0, so the automatic check compares its value to the literal 0.)

There are in fact currently 7 errors in 43 files, as can be checked by:
$BLINK_DIR/Tools/Scripts/check-webkit-style \
$BLINK_DIR/Source/bindings/tests/results

...with the following errors:
whitespace/braces
build/header_guard
readability/comparison_to_zero
readability/pass_ptr

We anticipate various other whitespace and braces style issues,
where having to treat 1-line and 2+ line statement blocks
differently makes the code generator more complex.

See also haraken's comment on previous CLs:
these have been a problem for a while, and it's just getting
worse.
https://codereview.chromium.org/22514002/#msg3

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156709 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: fixed compile_frontend.py broken by r156700

TBR=lushnikov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156710 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Show metrics in styles tab of styles sidebar in undocked/docked to bottom mode.

BUG=278332
R=pfeldman@chromium.org

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

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