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

Unified Diff: third_party/WebCore/html/HTMLMediaElement.idl

Issue 10513011: Roll IDL to multivm@576 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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/WebCore/html/HTMLMediaElement.idl
diff --git a/third_party/WebCore/html/HTMLMediaElement.idl b/third_party/WebCore/html/HTMLMediaElement.idl
index 87854be0f5133456b9e1608b982d00ad36cc6e49..ac0fa467b4049e163e90cb6b63fa337acbc2e264 100644
--- a/third_party/WebCore/html/HTMLMediaElement.idl
+++ b/third_party/WebCore/html/HTMLMediaElement.idl
@@ -99,8 +99,18 @@ module html {
// URL passed to src attribute to enable the media source logic.
readonly attribute [V8EnabledAtRuntime=mediaSource, URL] DOMString webkitMediaSourceURL;
- // Appends media to to the source.
- [V8EnabledAtRuntime=mediaSource] void webkitSourceAppend(in Uint8Array data) raises (DOMException);
+ // Manages IDs for appending media to the source.
+ [V8EnabledAtRuntime=mediaSource] void webkitSourceAddId(in DOMString id, in DOMString type) raises (DOMException);
+ [V8EnabledAtRuntime=mediaSource] void webkitSourceRemoveId(in DOMString id) raises (DOMException);
+
+ // Returns the time ranges buffered for a specific source ID.
+ [V8EnabledAtRuntime=mediaSource] TimeRanges webkitSourceBuffered(in DOMString id) raises (DOMException);
+
+ // Appends segment data.
+ [V8EnabledAtRuntime=mediaSource] void webkitSourceAppend(in DOMString id, in Uint8Array data) raises (DOMException);
+
+ // Aborts the current segment.
+ [V8EnabledAtRuntime=mediaSource] void webkitSourceAbort(in DOMString id) raises (DOMException);
// Signals the end of stream.
[V8EnabledAtRuntime=mediaSource] const unsigned short EOS_NO_ERROR = 0; // End of stream reached w/o error.
@@ -113,6 +123,10 @@ module html {
[V8EnabledAtRuntime=mediaSource] const unsigned short SOURCE_OPEN = 1;
[V8EnabledAtRuntime=mediaSource] const unsigned short SOURCE_ENDED = 2;
readonly attribute [V8EnabledAtRuntime=mediaSource] unsigned short webkitSourceState;
+
+ attribute [V8EnabledAtRuntime=mediaSource] EventListener onwebkitsourceopen;
+ attribute [V8EnabledAtRuntime=mediaSource] EventListener onwebkitsourceended;
+ attribute [V8EnabledAtRuntime=mediaSource] EventListener onwebkitsourceclose;
#endif
#if defined(ENABLE_ENCRYPTED_MEDIA) && ENABLE_ENCRYPTED_MEDIA
« no previous file with comments | « third_party/WebCore/html/HTMLInputElement.idl ('k') | third_party/WebCore/html/canvas/CanvasRenderingContext2D.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698