Chromium Code Reviews| Index: Source/core/html/track/AudioTrackList.idl |
| diff --git a/Source/core/html/track/AudioTrackList.idl b/Source/core/html/track/AudioTrackList.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..caf4046ad8e494f35bb85abe98793134457edd56 |
| --- /dev/null |
| +++ b/Source/core/html/track/AudioTrackList.idl |
| @@ -0,0 +1,15 @@ |
| +// 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, |
|
sof
2014/05/22 11:47:36
Add [WillBeGarbageCollected]
philipj_slow
2014/05/22 12:51:02
As discussed on IRC with sof, this is apparently n
sof
2014/05/22 12:51:56
Sorry, let's leave this EventTarget-derived interf
|
| +] interface AudioTrackList : EventTarget { |
| + readonly attribute unsigned long length; |
| + getter AudioTrack (unsigned long index); |
| + AudioTrack? getTrackById(DOMString id); |
| + |
| + attribute EventHandler onchange; |
| + attribute EventHandler onaddtrack; |
| + attribute EventHandler onremovetrack; |
| +}; |