chromium/third_party/blink/renderer/modules/media_controls/elements/media_control_input_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_input_element.h"

#include "base/metrics/histogram_functions.h"
#include "base/strings/strcat.h"
#include "third_party/blink/renderer/core/css/css_property_names.h"
#include "third_party/blink/renderer/core/css_value_keywords.h"
#include "third_party/blink/renderer/core/dom/dom_token_list.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/events/gesture_event.h"
#include "third_party/blink/renderer/core/html/forms/html_label_element.h"
#include "third_party/blink/renderer/core/html/html_div_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/keywords.h"
#include "third_party/blink/renderer/modules/media_controls/elements/media_control_elements_helper.h"
#include "third_party/blink/renderer/modules/media_controls/media_controls_impl.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/text/platform_locale.h"
#include "ui/gfx/geometry/size.h"
#include "ui/strings/grit/ax_strings.h"

namespace {

// The default size of an overflow button in pixels.
constexpr int kDefaultButtonSize =;

const char kOverflowContainerWithSubtitleCSSClass[] =;
const char kOverflowSubtitleCSSClass[] =;

}  // namespace

namespace blink {

// static
bool MediaControlInputElement::ShouldRecordDisplayStates(
    const HTMLMediaElement& media_element) {}

HTMLElement* MediaControlInputElement::CreateOverflowElement(
    MediaControlInputElement* button) {}

void MediaControlInputElement::UpdateOverflowSubtitleElement(String text) {}

void MediaControlInputElement::RemoveOverflowSubtitleElement() {}

bool MediaControlInputElement::OverflowElementIsWanted() {}

void MediaControlInputElement::SetOverflowElementIsWanted(bool wanted) {}

void MediaControlInputElement::UpdateOverflowLabelAriaLabel(String subtitle) {}

void MediaControlInputElement::MaybeRecordDisplayed() {}

void MediaControlInputElement::UpdateOverflowString() {}

MediaControlInputElement::MediaControlInputElement(
    MediaControlsImpl& media_controls)
    :{}

int MediaControlInputElement::GetOverflowStringId() const {}

void MediaControlInputElement::UpdateShownState() {}

void MediaControlInputElement::DefaultEventHandler(Event& event) {}

void MediaControlInputElement::MaybeRecordInteracted() {}

bool MediaControlInputElement::IsOverflowElement() const {}

bool MediaControlInputElement::IsMediaControlElement() const {}

String MediaControlInputElement::GetOverflowMenuString() const {}

String MediaControlInputElement::GetOverflowMenuSubtitleString() const {}

void MediaControlInputElement::RecordCTREvent(CTREvent event) {}

void MediaControlInputElement::SetClass(const String& class_name,
                                        bool should_have_class) {}

void MediaControlInputElement::UpdateDisplayType() {}

void MediaControlInputElement::UpdateAriaLabel(const String& new_aria_label) {}

gfx::Size MediaControlInputElement::GetSizeOrDefault() const {}

bool MediaControlInputElement::IsDisabled() const {}

void MediaControlInputElement::Trace(Visitor* visitor) const {}

}  // namespace blink