Index: modules/mediasource/MediaSource.idl |
diff --git a/modules/mediasource/WebKitMediaSource.idl b/modules/mediasource/MediaSource.idl |
similarity index 83% |
copy from modules/mediasource/WebKitMediaSource.idl |
copy to modules/mediasource/MediaSource.idl |
index 573548b1fd2527d0fafdb51debdff885a5e14ba0..d0b407dacc56122c130338be2e158733d0269a35 100644 |
--- a/modules/mediasource/WebKitMediaSource.idl |
+++ b/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 { |
+ ConstructorCallWith=ScriptExecutionContext |
+] 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); |
}; |
- |