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

Unified Diff: third_party/WebCore/Modules/mediastream/MediaStreamTrack.idl

Issue 10837033: Roll IDL to multivm@733 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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/WebCore/Modules/mediastream/MediaStreamTrack.idl
diff --git a/third_party/WebCore/Modules/mediastream/MediaStreamTrack.idl b/third_party/WebCore/Modules/mediastream/MediaStreamTrack.idl
index 79875975e917cbe6ef9931828d58c1c969f8edeb..e103ce23b35e78ab6abfa03514dd412c0f0d2466 100644
--- a/third_party/WebCore/Modules/mediastream/MediaStreamTrack.idl
+++ b/third_party/WebCore/Modules/mediastream/MediaStreamTrack.idl
@@ -26,10 +26,31 @@ module core {
interface [
Conditional=MEDIA_STREAM,
+ EventTarget,
+ ActiveDOMObject
] MediaStreamTrack {
readonly attribute DOMString kind;
readonly attribute DOMString label;
attribute boolean enabled;
+
+ const unsigned short LIVE = 0;
+ const unsigned short MUTED = 1;
+ const unsigned short ENDED = 2;
+ readonly attribute unsigned short readyState;
+
+ attribute EventListener onmute;
+ attribute EventListener onunmute;
+ attribute EventListener onended;
+
+ // EventTarget interface
+ void addEventListener(in DOMString type,
+ in EventListener listener,
+ in [Optional] boolean useCapture);
+ void removeEventListener(in DOMString type,
+ in EventListener listener,
+ in [Optional] boolean useCapture);
+ boolean dispatchEvent(in Event event)
+ raises(EventException);
};
}

Powered by Google App Engine
This is Rietveld 408576698