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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.idl

Issue 2043503002: Add [CEReactions] IDL attributes for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yukishiino review Created 4 years, 6 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
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 f7e5ccb7ca9dd29d0a125e68c533138e78e69c98..2789e9a20c3b010f7ecca8889d23d143142010ae 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.idl
@@ -35,16 +35,16 @@ enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
readonly attribute MediaError? error;
// network state
- [Reflect, URL] attribute DOMString src;
+ [CEReactions, Reflect, URL] attribute DOMString src;
// FIXME: attribute MediaProvider? srcObject; crbug.com/387740
readonly attribute DOMString currentSrc;
- [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin;
+ [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;
- attribute DOMString preload;
+ [CEReactions] attribute DOMString preload;
readonly attribute TimeRanges buffered;
void load();
CanPlayTypeResult canPlayType(DOMString type);
@@ -69,16 +69,16 @@ enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
readonly attribute TimeRanges played;
readonly attribute TimeRanges seekable;
readonly attribute boolean ended;
- [Reflect] attribute boolean autoplay;
- [Reflect] attribute boolean loop;
+ [CEReactions, Reflect] attribute boolean autoplay;
+ [CEReactions, Reflect] attribute boolean loop;
[CallWith=ScriptState, ImplementedAs=playForBindings] Promise<void> play();
void pause();
// controls
- [Reflect] attribute boolean controls;
+ [CEReactions, Reflect] attribute boolean controls;
[RaisesException=Setter] attribute double volume;
attribute boolean muted;
- [Reflect=muted] attribute boolean defaultMuted;
+ [CEReactions, Reflect=muted] attribute boolean defaultMuted;
// tracks
[SameObject, RuntimeEnabled=AudioVideoTracks] readonly attribute AudioTrackList audioTracks;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMapElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLMenuElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698