Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2013)

Unified Diff: core/html/HTMLMediaElement.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/html/HTMLLinkElement.idl ('k') | core/html/HTMLObjectElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/HTMLMediaElement.idl
diff --git a/core/html/HTMLMediaElement.idl b/core/html/HTMLMediaElement.idl
index 0ced5dc08131f250cda4f0231deb99e6b44de111..80899b4169a8da4eb15fde2c0d3570753329f0ca 100644
--- a/core/html/HTMLMediaElement.idl
+++ b/core/html/HTMLMediaElement.idl
@@ -27,7 +27,7 @@
enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
[
- ActiveDOMObject,
+ DependentLifetime,
RuntimeEnabled=Media,
] interface HTMLMediaElement : HTMLElement {
@@ -55,11 +55,11 @@ enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
const unsigned short HAVE_CURRENT_DATA = 2;
const unsigned short HAVE_FUTURE_DATA = 3;
const unsigned short HAVE_ENOUGH_DATA = 4;
- readonly attribute unsigned short readyState;
+ [ImplementedAs=getReadyState] readonly attribute unsigned short readyState;
readonly attribute boolean seeking;
// playback state
- [RaisesException=Setter] attribute double currentTime;
+ attribute double currentTime;
// FIXME: void fastSeek(double time);
readonly attribute unrestricted double duration;
// FIXME: Date getStartDate(); crbug.com/312699
@@ -71,13 +71,9 @@ enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
readonly attribute boolean ended;
[Reflect] attribute boolean autoplay;
[Reflect] attribute boolean loop;
- void play();
+ [CallWith=ScriptState, ImplementedAs=playForBindings] Promise<void> play();
void pause();
- // media controller
- [RuntimeEnabled=MediaController, Reflect] attribute DOMString mediaGroup;
- [RuntimeEnabled=MediaController, TypeChecking=Interface] attribute MediaController? controller;
-
// controls
[Reflect] attribute boolean controls;
[RaisesException=Setter] attribute double volume;
@@ -91,7 +87,6 @@ enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
[RaisesException] TextTrack addTextTrack(TextTrackKind kind, optional DOMString label = "", optional DOMString language = "");
// Non-standard APIs
- [RuntimeEnabled=PrefixedEncryptedMedia, DeprecateAs=CanPlayTypeKeySystem] DOMString canPlayType(DOMString type, [TreatUndefinedAs=NullString] DOMString? keySystem);
// The number of bytes consumed by the media decoder.
[MeasureAs=PrefixedAudioDecodedByteCount] readonly attribute unsigned long webkitAudioDecodedByteCount;
[MeasureAs=PrefixedVideoDecodedByteCount] readonly attribute unsigned long webkitVideoDecodedByteCount;
« no previous file with comments | « core/html/HTMLLinkElement.idl ('k') | core/html/HTMLObjectElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698