#include "third_party/blink/renderer/modules/media_controls/media_controls_display_cutout_delegate.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/events/touch_event.h"
#include "third_party/blink/renderer/core/frame/viewport_data.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/core/fullscreen/fullscreen.h"
#include "third_party/blink/renderer/core/html/media/html_video_element.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
namespace blink {
namespace {
gfx::Point ExtractTouchPoint(Touch* touch) { … }
double CalculateDistance(gfx::Point first, gfx::Point second) { … }
}
bool MediaControlsDisplayCutoutDelegate::IsEnabled() { … }
MediaControlsDisplayCutoutDelegate::MediaControlsDisplayCutoutDelegate(
HTMLVideoElement& video_element)
: … { … }
void MediaControlsDisplayCutoutDelegate::Attach() { … }
void MediaControlsDisplayCutoutDelegate::Detach() { … }
void MediaControlsDisplayCutoutDelegate::Trace(Visitor* visitor) const { … }
void MediaControlsDisplayCutoutDelegate::DidEnterFullscreen() { … }
void MediaControlsDisplayCutoutDelegate::DidExitFullscreen() { … }
void MediaControlsDisplayCutoutDelegate::Invoke(
ExecutionContext* execution_context,
Event* event) { … }
void MediaControlsDisplayCutoutDelegate::HandleTouchEvent(TouchEvent* event) { … }
Document& MediaControlsDisplayCutoutDelegate::GetDocument() { … }
}