Sync TextTrackList.getTrackById IDL with spec and test it

http://whatwg.org/html#texttracklist

The test has also been submitted to web-platform-tests:
https://github.com/w3c/web-platform-tests/pull/1058

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176089 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[SVG2] The exposed event target should be the <use> element.

Spec:
https://svgwg.org/svg2-draft/struct.html#UseElement

BUG=382872, 313438

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176090 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL build: factor out interface_info actions into GYP templates

Followup to:
IDL build: factor out global constructors action into a GYP template
https://codereview.chromium.org/319933002/

R=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176091 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Turn conditionals back on in aggregate bindings

Aggregate bindings are supposed to wrap the include of
interfaces that have [Conditional] on their definition with
ifdef, so these are not compiled if these are turned off.

However, this was broken so it didn't work,
and we couldn't turn it on, due to linking failure in SVG.
(I noticed this during a cleanup.)

This now can be turned back on, perhaps thanks to Kouhei's
fix-up of SVG bindings (or something Mahesh has been doing?).
Turning it on thus speeds up and simplifies compilation
somewhat.

(The only [Conditional] compilation flags on interfaces
are SVG_FONTS and WEB_AUDIO.)

I looked into this because of Mahesh's other Conditional fixes in:
Add support in generate scripts to handle Conditional
https://codereview.chromium.org/330093002/

R=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176092 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add UseCounter for Element.createShadowRoot()

BUG=383749
TEST=none
R=yutak@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176093 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused Mac platform code.

Most of ColorMac.h is unused (except for one function, which is only
used in one file, but seems general enough to remain).

EmptyProtocolDefinitions.h is included only in one source file, which
does not refer to either of the protocol definitions it provides.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176094 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix crash due to null frame() pointer on Document.

BUG=383985

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176095 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Decrease binary size by 60 KB by removing V8XXX::domTemplate

This CL moves off the contents of V8XXX::domTemplate from V8XXX.cpp to V8DOMConfiguration.cpp. By doing this, we can decrease the binary size by 60 KB.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176096 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove [PerWorldBindings] from not performance-sensitive methods

This CL removes binary size by 43 KB (Linux Release). I don't see any regression with this CL in Dromaeo.

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

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