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

Unified Diff: third_party/WebCore/Modules/mediasource/MediaSource.idl

Issue 10825350: Roll IDL to multivm@762 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/mediasource/MediaSource.idl
diff --git a/third_party/WebCore/Modules/mediasource/SourceBufferList.idl b/third_party/WebCore/Modules/mediasource/MediaSource.idl
similarity index 77%
copy from third_party/WebCore/Modules/mediasource/SourceBufferList.idl
copy to third_party/WebCore/Modules/mediasource/MediaSource.idl
index 39eddcaa8f544a44afceddbf889af23c0baf02d4..25f7dec1bbd5b9776b8cd8b760467d0314ba6db5 100644
--- a/third_party/WebCore/Modules/mediasource/SourceBufferList.idl
+++ b/third_party/WebCore/Modules/mediasource/MediaSource.idl
@@ -33,13 +33,24 @@ module html {
interface [
Conditional=MEDIA_SOURCE,
V8EnabledAtRuntime=mediaSource,
- IndexedGetter,
EventTarget,
+ Constructor,
CallWith=ScriptExecutionContext
- ] SourceBufferList {
- readonly attribute unsigned long length;
- SourceBuffer item(in unsigned long index);
+ ] MediaSource {
+ // All the source buffers created by this object.
+ readonly attribute SourceBufferList sourceBuffers;
+ // Subset of sourceBuffers that provide data for the selected/enabled tracks.
+ readonly attribute SourceBufferList activeSourceBuffers;
+
+ SourceBuffer addSourceBuffer(in DOMString type) raises (DOMException);
+ void removeSourceBuffer(in SourceBuffer buffer) raises (DOMException);
+
+ readonly attribute DOMString readyState;
+
+ void endOfStream(in [Optional=DefaultIsNullString] DOMString error)
+ raises (DOMException);
+
// EventTarget interface
void addEventListener(in DOMString type,
in EventListener listener,
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | third_party/WebCore/Modules/mediastream/DOMWindowMediaStream.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698