Move WebMediaPlayer and friends to public/platform/

This is a prerequisite for eliminating the
MediaPlayer/MediaPlayerClient layer.

Minor style changes were needed to pass presubmit.

BUG=310466

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161792 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make Blob constructor accept sequences.

The Blob constructor currently only accepts JS arrays for its first
argument (blob parts), but the WebIDL in the File spec says it should
accept any sequences (objects with the "length" property and indexed
properties). This change makes the Blob constructor compliant with the
spec.

BUG=314755

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161793 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge [*RaisesException] extended attributes

Consolidates 4 extended attributes into 1:
[RaisesException] => [RaisesException]
[GetterRaisesException] => [RaisesException=Getter]
[SetterRaisesException] => [RaisesException=Setter]
[ConstructorRaisesException] => [RaisesException=Constructor]

No changes to generated code.

Docs updated:
https://sites.google.com/a/chromium.org/dev/blink/webidl/blink-idl-extended-attributes#TOC-RaisesException-m-a-i-

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161794 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: Overloaded methods: type checking

This starts type checking for overloaded methods.
Some Perl changes to make the generated code more consistent,
simplifying the CGs, especially the Python.
(This makes simple checks have extra parens,
 though the generated code for resolution checks
 are pretty illegible anyway.)

BUG=239771

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161796 bbb929c8-8fbe-4397-9dbb-9b2b20218538
window.scroll() without params should be ignored or throw an error

The parameters are marked non-optional to make sure that a x,y parameter is specified to scroll. Modified the test case to consider this scenario. This is compatible with Firefox. IE reports no error and scrolls to page top, like chrome before the patch.

BUG=113962

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161798 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Request new base line for layout tests due to changed V8 behavior.

The V8 roll was in https://codereview.chromium.org/65313003/.

TBR=jochen@chromium.org
BUG=316113

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161799 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add use counter analytics to CSSAnimations.

Count each specified CSS Transition every time it runs.

Count each requested CSS Animation, including those on non-animatable properties.

BUG=317604

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161800 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rewrite BorderImageLength to not use the Relative length type

Remove the last remaining Relative length and instead store a Length
_and_ a double value along with a type tag, a pattern also used by
GridLength in the Flexbox code. While it increases memory usage
slightly, getting rid of the Relative length type is deemed more
important.

BUG=259107

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161802 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix TestListener in Source/web/tests/CustomEventTest.cpp

It was getting converted to a V8AbstractEventListener in V8GCController, and
that's not good, since it didn't inherit it.

BUG=317669

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161805 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: extract GPU events API out of trace event API

Create separate API functions to start/stop and collect
GPU events.

BUG=298951
R=caseq@chromium.org, pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161806 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Lift integer restriction on border-image-width and border-image-outset

border-image-{width,outset} should accept percentages, lengths,
numbers, and auto. A number represents a multiple of the computed
border-width, and should not be restricted to integral values.

BUG=304000

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161807 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add operation name to SubtleCrypto exception messages.

This patch adds the name of the operation to the generated exception message,
which makes it a bit simpler to figure out which step of a promise chain
ended up erroring off.

It also wraps the error message in 'ExceptionMessages::failedToExecute' for
consistency.

BUG=270033

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161808 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Length type Relative is now unused. Remove it.

BUG=259107

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161809 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Restore close navigator button in sources panel.

R=pfeldman@chromium.org, pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161810 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use a HashCountedSet to count identifiers in InspectorConsoleAgent

Use a HashCountedSet to count identifiers in InspectorConsoleAgent instead of
handling the counting manually and using a HashMap data structure. This
abstracts away some of the complexity and makes the code a bit simpler.

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

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