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..8413e02d701d272afb588016635ee2eb9a5715ad |
| --- /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 |
|
Nils Barth (inactive)
2014/03/19 01:07:33
Trailing comma please.
acolwell GONE FROM CHROMIUM
2014/03/28 01:32:35
Done.
|
| +] 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; |
| +}; |