Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Per 18 Nov 2014 Editor's Draft | |
| 6 // https://w3c.github.io/media-source/#trackdefaultlist | |
| 7 | |
| 8 [ | |
| 9 Constructor(sequence<TrackDefault> trackDefaults), | |
| 10 RaisesException=Constructor, | |
| 11 GarbageCollected, | |
| 12 RuntimeEnabled=MediaSourceExperimental, | |
| 13 ] interface TrackDefaultList { | |
| 14 readonly attribute unsigned long length; | |
| 15 [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
| |
| 16 }; | |
| OLD | NEW |