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

Unified Diff: Source/modules/mediasource/MediaSource.idl

Issue 16625011: Add minimal implementation of unprefixed MediaSource API that has feature parity with prefixed API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address CR comments Created 7 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: Source/modules/mediasource/MediaSource.idl
diff --git a/Source/modules/mediasource/WebKitMediaSource.idl b/Source/modules/mediasource/MediaSource.idl
similarity index 84%
copy from Source/modules/mediasource/WebKitMediaSource.idl
copy to Source/modules/mediasource/MediaSource.idl
index 573548b1fd2527d0fafdb51debdff885a5e14ba0..49d53d0cef5528789b2d2fe3d6c8b6ce72c03d15 100644
--- a/Source/modules/mediasource/WebKitMediaSource.idl
+++ b/Source/modules/mediasource/MediaSource.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
+ * Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -29,23 +29,22 @@
*/
[
- NoInterfaceObject,
- EnabledAtRuntime=webKitMediaSource,
+ EnabledAtRuntime=mediaSource,
ActiveDOMObject,
EventTarget,
Constructor,
CallWith=ScriptExecutionContext
-] interface WebKitMediaSource {
+] interface MediaSource {
// All the source buffers created by this object.
- readonly attribute WebKitSourceBufferList sourceBuffers;
+ readonly attribute SourceBufferList sourceBuffers;
// Subset of sourceBuffers that provide data for the selected/enabled tracks.
- readonly attribute WebKitSourceBufferList activeSourceBuffers;
+ readonly attribute SourceBufferList activeSourceBuffers;
[SetterRaisesException] attribute double duration;
- [RaisesException] WebKitSourceBuffer addSourceBuffer(DOMString type);
- [RaisesException] void removeSourceBuffer(WebKitSourceBuffer buffer);
+ [RaisesException] SourceBuffer addSourceBuffer(DOMString type);
+ [RaisesException] void removeSourceBuffer(SourceBuffer buffer);
readonly attribute DOMString readyState;
@@ -62,4 +61,3 @@
optional boolean useCapture);
[RaisesException] boolean dispatchEvent(Event event);
};
-

Powered by Google App Engine
This is Rietveld 408576698