Web Animations CSS: Animate pseudo elements

This patch hooks up animation of pseudo elements with the Web Animations
engine.

R=esprehn,dstockwell
BUG=258896

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161427 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: pass device emulation gutter size through API call. This change introduces new API calls.

BUG=315095

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161428 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move UseCounter from page/ to frame/

Although we currently count usage on a per-page-load basis
the rest of core/ has no need to get UseCounter from the
Page since in an OOPI world these UseCounter results will
be recorded per-frame, but just summarized per-page.

BUG=305811
R=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161429 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix WATCHLIST and add a presubmit check that the watchlist actually works

BUG=none
R=dpranke@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161430 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Introduce DEFINE_RENDER_SVG_RESOURCE_TYPE_CASTS, and use it

As a step to let toFoo use DEFINE_TYPE_CASTS, this cl introduce DEFINE_RENDER_SVG_RESOURCE_TYPE_CASTS,
which can support more helper functions rather than manual toFoo(). This cl will help to detect
bad type casts further.

BUG=309516

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161431 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: [Conditional] for methods

Some Perl whitespace changes, to match consistent Python.

BUG=239771

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161432 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Clear DOMWindowEventQueue in Document::detach()

This is a speculative fix for bug 313227.
Apparently DOMWindowEventQueue potentially survives after the lifetime of
companion Document. This change ensures that the queue is closed and cleared
when the companion Document is gone.

Note that this kind of lifetime misalignment should be fixed once
DOMWindow becomes an ExecutionContext subclass.

BUG=313227
R=abarth,haraken

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

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