blob: 44d62feecfab918f5922e1a378f31f4d856186c7 [file] [log] [blame]
// 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.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_HTML_TRACK_AUDIO_TRACK_LIST_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_TRACK_AUDIO_TRACK_LIST_H_
#include "third_party/blink/renderer/core/html/track/audio_track.h"
#include "third_party/blink/renderer/core/html/track/track_list_base.h"
namespace blink {
class CORE_EXPORT AudioTrackList final : public TrackListBase<AudioTrack> {
DEFINE_WRAPPERTYPEINFO();
public:
static AudioTrackList* Create(HTMLMediaElement&);
explicit AudioTrackList(HTMLMediaElement&);
~AudioTrackList() override;
bool HasEnabledTrack() const;
// EventTarget
const AtomicString& InterfaceName() const override;
void Trace(Visitor* visitor) override {
TrackListBase<AudioTrack>::Trace(visitor);
}
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_CORE_HTML_TRACK_AUDIO_TRACK_LIST_H_