Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: Source/core/html/track/AudioTrackList.h

Issue 170233009: Initial implementation of AudioTrack, AudioTrackList, VideoTrack, and VideoTrackList. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@blink-master
Patch Set: Rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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*);
19
20 virtual ~AudioTrackList();
21
22 AudioTrack* anonymousIndexedGetter(unsigned index) const;
philipj_slow 2014/03/09 09:04:14 How about making TrackBaseList a template and sayi
23 AudioTrack* getTrackById(const AtomicString& id) const;
24
25 bool hasEnabledTrack() const;
philipj_slow 2014/03/09 09:04:14 Don't forget to remove this if you remove HTMLMedi
26
27 // EventTarget
28 virtual const AtomicString& interfaceName() const OVERRIDE;
29
30 private:
31 explicit AudioTrackList(HTMLMediaElement*);
32 };
33
34 }
35
36 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698