#include "third_party/blink/renderer/modules/media_controls/elements/media_control_text_track_list_element.h"
#include "third_party/blink/public/strings/grit/blink_strings.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/dom/events/event_dispatch_forbidden_scope.h"
#include "third_party/blink/renderer/core/dom/text.h"
#include "third_party/blink/renderer/core/html/forms/html_input_element.h"
#include "third_party/blink/renderer/core/html/forms/html_label_element.h"
#include "third_party/blink/renderer/core/html/html_span_element.h"
#include "third_party/blink/renderer/core/html/media/html_media_element.h"
#include "third_party/blink/renderer/core/html/track/text_track.h"
#include "third_party/blink/renderer/core/html/track/text_track_list.h"
#include "third_party/blink/renderer/core/input_type_names.h"
#include "third_party/blink/renderer/core/keywords.h"
#include "third_party/blink/renderer/modules/media_controls/elements/media_control_toggle_closed_captions_button_element.h"
#include "third_party/blink/renderer/modules/media_controls/media_controls_impl.h"
#include "third_party/blink/renderer/modules/media_controls/media_controls_text_track_manager.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/text/platform_locale.h"
#include "ui/strings/grit/ax_strings.h"
namespace blink {
namespace {
constexpr int kTrackIndexOffValue = …;
const QualifiedName& TrackIndexAttrName() { … }
bool HasDuplicateLabel(TextTrack* current_track) { … }
}
MediaControlTextTrackListElement::MediaControlTextTrackListElement(
MediaControlsImpl& media_controls)
: … { … }
bool MediaControlTextTrackListElement::WillRespondToMouseClickEvents() { … }
void MediaControlTextTrackListElement::SetIsWanted(bool wanted) { … }
void MediaControlTextTrackListElement::DefaultEventHandler(Event& event) { … }
Element* MediaControlTextTrackListElement::CreateTextTrackListItem(
TextTrack* track) { … }
Element* MediaControlTextTrackListElement::CreateTextTrackHeaderItem() { … }
void MediaControlTextTrackListElement::RefreshTextTrackListMenu() { … }
}