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

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: Rebased, reworked impl, and addressed comments. 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 : 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698