Chromium Code Reviews| Index: Source/core/html/track/VideoTrackList.idl |
| diff --git a/Source/core/html/track/VideoTrackList.idl b/Source/core/html/track/VideoTrackList.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..04ed95ea314dcb60c173376e0b49d940430a9d6d |
| --- /dev/null |
| +++ b/Source/core/html/track/VideoTrackList.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. |
| + |
| +[ |
| + RuntimeEnabled=AudioVideoTracks |
| +] interface VideoTrackList : EventTarget { |
| + readonly attribute unsigned long length; |
| + getter VideoTrack (unsigned long index); |
| + VideoTrack getTrackById(DOMString id); |
|
philipj_slow
2014/03/13 10:00:04
can be "VideoTrack?" I think
acolwell GONE FROM CHROMIUM
2014/03/18 22:02:15
Done.
|
| + readonly attribute long selectedIndex; |
| + |
| + attribute EventHandler onchange; |
| + attribute EventHandler onaddtrack; |
| + attribute EventHandler onremovetrack; |
| +}; |