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

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: Add ::create() overload to simplify empty list creation 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
« no previous file with comments | « Source/modules/mediasource/TrackDefaultList.cpp ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
haraken 2014/12/16 01:19:37 Do we need [ImplementedAs=item]? I guess a getter
wolenetz 2014/12/16 19:29:44 Yes, we need that annotation. Otherwise, the gette
+};
« no previous file with comments | « Source/modules/mediasource/TrackDefaultList.cpp ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698