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 #ifndef AudioTrackList_h | |
6 #define AudioTrackList_h | |
7 | |
8 #include "bindings/v8/ScriptWrappable.h" | |
9 #include "core/html/track/TrackBaseList.h" | |
10 | |
11 namespace WebCore { | |
12 | |
13 class AudioTrack; | |
14 class HTMLMediaElement; | |
15 | |
16 class AudioTrackList FINAL : public TrackBaseList, public ScriptWrappable { | |
17 public: | |
18 static PassRefPtrWillBeRawPtr<AudioTrackList> create(HTMLMediaElement*); | |
sof
2014/03/13 12:19:20
Use PassRefPtr
acolwell GONE FROM CHROMIUM
2014/03/18 22:02:15
Done.
| |
19 | |
20 virtual ~AudioTrackList(); | |
21 | |
22 AudioTrack* anonymousIndexedGetter(unsigned index) const; | |
23 AudioTrack* getTrackById(const AtomicString& id) const; | |
24 | |
25 bool hasEnabledTrack() const; | |
26 | |
27 // EventTarget | |
28 virtual const AtomicString& interfaceName() const OVERRIDE; | |
29 | |
30 private: | |
31 explicit AudioTrackList(HTMLMediaElement*); | |
32 }; | |
33 | |
34 } | |
35 | |
36 #endif | |
OLD | NEW |