#include "third_party/blink/renderer/modules/media_controls/elements/media_control_timeline_element.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/platform/user_metrics_action.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/events/gesture_event.h"
#include "third_party/blink/renderer/core/events/keyboard_event.h"
#include "third_party/blink/renderer/core/events/pointer_event.h"
#include "third_party/blink/renderer/core/events/touch_event.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/html/html_div_element.h"
#include "third_party/blink/renderer/core/html/media/html_media_element.h"
#include "third_party/blink/renderer/core/html/media/html_video_element.h"
#include "third_party/blink/renderer/core/html/shadow/shadow_element_names.h"
#include "third_party/blink/renderer/core/html/time_ranges.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/input/touch.h"
#include "third_party/blink/renderer/core/input/touch_list.h"
#include "third_party/blink/renderer/core/input_type_names.h"
#include "third_party/blink/renderer/core/layout/layout_box.h"
#include "third_party/blink/renderer/core/page/chrome_client.h"
#include "third_party/blink/renderer/modules/media_controls/elements/media_control_current_time_display_element.h"
#include "third_party/blink/renderer/modules/media_controls/elements/media_control_elements_helper.h"
#include "third_party/blink/renderer/modules/media_controls/elements/media_control_remaining_time_display_element.h"
#include "third_party/blink/renderer/modules/media_controls/media_controls_impl.h"
#include "third_party/blink/renderer/modules/media_controls/media_controls_shared_helper.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/text/platform_locale.h"
#include "ui/display/screen_info.h"
#include "ui/strings/grit/ax_strings.h"
namespace {
const int kThumbRadius = …;
const base::TimeDelta kRenderTimelineInterval = …;
bool IsValidPointerEvent(const blink::Event& event) { … }
}
namespace blink {
MediaControlTimelineElement::MediaControlTimelineElement(
MediaControlsImpl& media_controls)
: … { … }
bool MediaControlTimelineElement::WillRespondToMouseClickEvents() { … }
void MediaControlTimelineElement::UpdateAria() { … }
void MediaControlTimelineElement::SetPosition(double current_time,
bool suppress_aria) { … }
void MediaControlTimelineElement::SetDuration(double duration) { … }
const char* MediaControlTimelineElement::GetNameForHistograms() const { … }
void MediaControlTimelineElement::DefaultEventHandler(Event& event) { … }
bool MediaControlTimelineElement::KeepEventInNode(const Event& event) const { … }
void MediaControlTimelineElement::OnMediaPlaying() { … }
void MediaControlTimelineElement::OnMediaStoppedPlaying() { … }
void MediaControlTimelineElement::OnProgress() { … }
void MediaControlTimelineElement::RenderTimelineTimerFired(TimerBase*) { … }
void MediaControlTimelineElement::MaybeUpdateTimelineInterval() { … }
void MediaControlTimelineElement::RenderBarSegments() { … }
void MediaControlTimelineElement::Trace(Visitor* visitor) const { … }
bool MediaControlTimelineElement::BeginScrubbingEvent(Event& event) { … }
void MediaControlTimelineElement::OnControlsHidden() { … }
void MediaControlTimelineElement::OnControlsShown() { … }
bool MediaControlTimelineElement::EndScrubbingEvent(Event& event) { … }
}