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

Unified Diff: modules/mediasource/TrackDefault.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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/SourceBufferList.idl ('k') | modules/mediasource/TrackDefaultList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/mediasource/TrackDefault.idl
diff --git a/modules/mediasource/TrackDefault.idl b/modules/mediasource/TrackDefault.idl
new file mode 100644
index 0000000000000000000000000000000000000000..5c8687f339bf066b126d7b7fc5c37c3735f63afd
--- /dev/null
+++ b/modules/mediasource/TrackDefault.idl
@@ -0,0 +1,21 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Per 11 Nov 2014 Editor's Draft
+// https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#idl-def-TrackDefault
+
+enum TrackDefaultType { "audio", "video", "text" };
+
+[
+ Constructor(TrackDefaultType type, DOMString language, DOMString label, sequence<DOMString> kinds, optional DOMString byteStreamTrackID = ""),
+ RaisesException=Constructor,
+ GarbageCollected,
+ RuntimeEnabled=MediaSourceExperimental,
+] interface TrackDefault {
+ readonly attribute TrackDefaultType type;
+ readonly attribute DOMString byteStreamTrackID;
+ readonly attribute DOMString language;
+ readonly attribute DOMString label;
+ readonly attribute DOMString[] kinds;
+};
« no previous file with comments | « modules/mediasource/SourceBufferList.idl ('k') | modules/mediasource/TrackDefaultList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698