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

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: Fix global-constructors-listing-expected.txt 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
« no previous file with comments | « Source/modules/mediasource/MediaSource.cpp ('k') | Source/modules/mediasource/MediaSourceBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1bc542ccb7d1a7fb7173c466ac936d7ce8aecd70..d0b407dacc56122c130338be2e158733d0269a35 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,
ConstructorCallWith=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);
};
-
« no previous file with comments | « Source/modules/mediasource/MediaSource.cpp ('k') | Source/modules/mediasource/MediaSourceBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698