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 #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 : public TrackBaseList, public ScriptWrappable { | |
|
Inactive
2014/03/08 03:05:59
Can be FINAL
acolwell GONE FROM CHROMIUM
2014/03/08 19:56:42
Done.
| |
| 17 public: | |
| 18 static PassRefPtrWillBeRawPtr<AudioTrackList> create(HTMLMediaElement*); | |
| 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 AudioTrackList(HTMLMediaElement* owner); | |
|
Inactive
2014/03/08 03:05:59
Could be explicit
acolwell GONE FROM CHROMIUM
2014/03/08 19:56:42
Done.
| |
| 32 }; | |
| 33 | |
| 34 } | |
| 35 | |
| 36 #endif | |
| OLD | NEW |