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

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

Issue 702583002: MSE: Implement TrackDefaultList object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@WIP_blink_trackdefaults_and_add_tracks_to_init_segment_processing
Patch Set: Simplified..(addressed PS3 comments and rebased) Created 6 years 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/TrackDefaultList.idl
diff --git a/Source/modules/mediasource/TrackDefaultList.idl b/Source/modules/mediasource/TrackDefaultList.idl
new file mode 100644
index 0000000000000000000000000000000000000000..ee822b6fcbf7ee47110afc1e3abf1ebb8d4e1a0c
--- /dev/null
+++ b/Source/modules/mediasource/TrackDefaultList.idl
@@ -0,0 +1,16 @@
+// 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 18 Nov 2014 Editor's Draft
+// https://w3c.github.io/media-source/#trackdefaultlist
+
+[
+ Constructor(sequence<TrackDefault> trackDefaults),
+ RaisesException=Constructor,
+ GarbageCollected,
+ RuntimeEnabled=MediaSourceExperimental,
+] interface TrackDefaultList {
+ readonly attribute unsigned long length;
+ [ImplementedAs=item] getter TrackDefault (unsigned long index);
+};

Powered by Google App Engine
This is Rietveld 408576698