chromium/third_party/blink/renderer/modules/media_controls/elements/media_control_toggle_closed_captions_button_element.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// The CSS class to use if we should use the closed captions icon.
const char kClosedCaptionClass[] =;

const char* kClosedCaptionLocales[] =;

// Returns true if the default language should use the closed captions icon.
bool UseClosedCaptionsIcon() {}

}  // namespace

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) {}

}  // namespace blink