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

Unified Diff: modules/mediasource/SourceBuffer.idl

Issue 19605006: Roll IDL to multivm@1316 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 5 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 | « modules/mediasource/MediaSource.idl ('k') | modules/mediasource/SourceBufferList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/mediasource/SourceBuffer.idl
diff --git a/modules/webmidi/MIDIPort.idl b/modules/mediasource/SourceBuffer.idl
similarity index 77%
copy from modules/webmidi/MIDIPort.idl
copy to modules/mediasource/SourceBuffer.idl
index e7e2aa9f87a204969318580f984b683adf0a657a..d04be7109d236ededb8eb49eebb87ece3aff57c7 100644
--- a/modules/webmidi/MIDIPort.idl
+++ b/modules/mediasource/SourceBuffer.idl
@@ -27,24 +27,28 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
-enum MIDIPortType {
- "input",
- "output"
-};
-
+
[
NoInterfaceObject,
ActiveDOMObject,
- EventTarget
-] interface MIDIPort {
- readonly attribute DOMString id;
- readonly attribute DOMString manufacturer;
- readonly attribute DOMString name;
- readonly attribute MIDIPortType type;
- readonly attribute DOMString version;
+ EventTarget,
+ EnabledAtRuntime=mediaSource
+] interface SourceBuffer {
+
+ readonly attribute boolean updating;
+
+ // Returns the time ranges buffered.
+ [GetterRaisesException] readonly attribute TimeRanges buffered;
- attribute EventListener ondisconnect;
+ // Applies an offset to media segment timestamps.
+ [SetterRaisesException] attribute double timestampOffset;
+
+ // Append segment data.
+ [RaisesException] void appendBuffer(ArrayBuffer data);
+ [RaisesException] void appendBuffer(ArrayBufferView data);
+
+ // Abort the current segment append sequence.
+ [RaisesException] void abort();
// EventTarget interface
void addEventListener(DOMString type,
@@ -55,3 +59,4 @@ enum MIDIPortType {
optional boolean useCapture);
[RaisesException] boolean dispatchEvent(Event event);
};
+
« no previous file with comments | « modules/mediasource/MediaSource.idl ('k') | modules/mediasource/SourceBufferList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698