| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.idl
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.idl b/third_party/WebKit/Source/core/html/HTMLMediaElement.idl
|
| index 2789e9a20c3b010f7ecca8889d23d143142010ae..4ba795d2c157ee0a5612d9d466f65c2f5c398483 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.idl
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.idl
|
| @@ -38,14 +38,14 @@ enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
|
| [CEReactions, Reflect, URL] attribute DOMString src;
|
| // FIXME: attribute MediaProvider? srcObject; crbug.com/387740
|
| readonly attribute DOMString currentSrc;
|
| - [CEReactions, Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin;
|
| + [Measure, CEReactions, Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin;
|
| const unsigned short NETWORK_EMPTY = 0;
|
| const unsigned short NETWORK_IDLE = 1;
|
| const unsigned short NETWORK_LOADING = 2;
|
| const unsigned short NETWORK_NO_SOURCE = 3;
|
| [ImplementedAs=getNetworkState] readonly attribute unsigned short networkState;
|
| [CEReactions] attribute DOMString preload;
|
| - readonly attribute TimeRanges buffered;
|
| + [Measure] readonly attribute TimeRanges buffered;
|
| void load();
|
| CanPlayTypeResult canPlayType(DOMString type);
|
|
|
| @@ -56,35 +56,35 @@ enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
|
| const unsigned short HAVE_FUTURE_DATA = 3;
|
| const unsigned short HAVE_ENOUGH_DATA = 4;
|
| [ImplementedAs=getReadyState] readonly attribute unsigned short readyState;
|
| - readonly attribute boolean seeking;
|
| + [Measure] readonly attribute boolean seeking;
|
|
|
| // playback state
|
| - attribute double currentTime;
|
| + [Measure] attribute double currentTime;
|
| // FIXME: void fastSeek(double time);
|
| - readonly attribute unrestricted double duration;
|
| + [Measure] readonly attribute unrestricted double duration;
|
| // FIXME: Date getStartDate(); crbug.com/312699
|
| readonly attribute boolean paused;
|
| - attribute double defaultPlaybackRate;
|
| - attribute double playbackRate;
|
| - readonly attribute TimeRanges played;
|
| - readonly attribute TimeRanges seekable;
|
| - readonly attribute boolean ended;
|
| + [Measure] attribute double defaultPlaybackRate;
|
| + [Measure] attribute double playbackRate;
|
| + [Measure] readonly attribute TimeRanges played;
|
| + [Measure] readonly attribute TimeRanges seekable;
|
| + [Measure] readonly attribute boolean ended;
|
| [CEReactions, Reflect] attribute boolean autoplay;
|
| - [CEReactions, Reflect] attribute boolean loop;
|
| + [Measure, CEReactions, Reflect] attribute boolean loop;
|
| [CallWith=ScriptState, ImplementedAs=playForBindings] Promise<void> play();
|
| void pause();
|
|
|
| // controls
|
| - [CEReactions, Reflect] attribute boolean controls;
|
| - [RaisesException=Setter] attribute double volume;
|
| - attribute boolean muted;
|
| - [CEReactions, Reflect=muted] attribute boolean defaultMuted;
|
| + [Measure, CEReactions, Reflect] attribute boolean controls;
|
| + [Measure, RaisesException=Setter] attribute double volume;
|
| + [Measure] attribute boolean muted;
|
| + [Measure, CEReactions, Reflect=muted] attribute boolean defaultMuted;
|
|
|
| // tracks
|
| - [SameObject, RuntimeEnabled=AudioVideoTracks] readonly attribute AudioTrackList audioTracks;
|
| - [SameObject, RuntimeEnabled=AudioVideoTracks] readonly attribute VideoTrackList videoTracks;
|
| - [SameObject] readonly attribute TextTrackList textTracks;
|
| - [RaisesException] TextTrack addTextTrack(TextTrackKind kind, optional DOMString label = "", optional DOMString language = "");
|
| + [Measure, SameObject, RuntimeEnabled=AudioVideoTracks] readonly attribute AudioTrackList audioTracks;
|
| + [Measure, SameObject, RuntimeEnabled=AudioVideoTracks] readonly attribute VideoTrackList videoTracks;
|
| + [Measure, SameObject] readonly attribute TextTrackList textTracks;
|
| + [Measure, RaisesException] TextTrack addTextTrack(TextTrackKind kind, optional DOMString label = "", optional DOMString language = "");
|
|
|
| // Non-standard APIs
|
| // The number of bytes consumed by the media decoder.
|
|
|