#include "third_party/blink/renderer/modules/media_controls/elements/media_control_toggle_closed_captions_button_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/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/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/language.h"
#include "third_party/blink/renderer/platform/text/platform_locale.h"
#include "ui/strings/grit/ax_strings.h"
namespace blink {
namespace {
const char kClosedCaptionClass[] = …;
const char* kClosedCaptionLocales[] = …;
bool UseClosedCaptionsIcon() { … }
}
MediaControlToggleClosedCaptionsButtonElement::
MediaControlToggleClosedCaptionsButtonElement(
MediaControlsImpl& media_controls)
: … { … }
bool MediaControlToggleClosedCaptionsButtonElement::
WillRespondToMouseClickEvents() { … }
void MediaControlToggleClosedCaptionsButtonElement::UpdateDisplayType() { … }
int MediaControlToggleClosedCaptionsButtonElement::GetOverflowStringId() const { … }
bool MediaControlToggleClosedCaptionsButtonElement::HasOverflowButton() const { … }
String
MediaControlToggleClosedCaptionsButtonElement::GetOverflowMenuSubtitleString()
const { … }
const char*
MediaControlToggleClosedCaptionsButtonElement::GetNameForHistograms() const { … }
void MediaControlToggleClosedCaptionsButtonElement::DefaultEventHandler(
Event& event) { … }
}