Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 2696893002: [Blink>Media] Add heuristic for dominant video detection for Android (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
index d3d8cb9ff2129ed1bb357ade23ccad1ae4dbd8a0..47f8ef8fd699dcc1944dac5d0d67dc76eaa41719 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -403,6 +403,9 @@ class CORE_EXPORT HTMLMediaElement
void progressEventTimerFired(TimerBase*);
void playbackProgressTimerFired(TimerBase*);
void checkViewportIntersectionTimerFired(TimerBase*);
+ static bool computeIsMostlyFillingViewport(const IntRect& targetRect,
+ const IntRect& rootRect,
+ const IntRect& intersectionRect);
void startPlaybackProgressTimer();
void startProgressEventTimer();
void stopPeriodicTimers();

Powered by Google App Engine
This is Rietveld 408576698