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

Unified Diff: third_party/WebKit/public/platform/WebMediaPlayer.h

Issue 2556333002: Detect change on video/viewport intersection when rendered remotely (Closed)
Patch Set: Fix nits. Created 4 years 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/public/platform/WebMediaPlayer.h
diff --git a/third_party/WebKit/public/platform/WebMediaPlayer.h b/third_party/WebKit/public/platform/WebMediaPlayer.h
index f652d5bed866e5bbe8eadaf12b64aaab36c5f725..370c523b3e305502b6f660755ed29ba41538a44b 100644
--- a/third_party/WebKit/public/platform/WebMediaPlayer.h
+++ b/third_party/WebKit/public/platform/WebMediaPlayer.h
@@ -262,7 +262,9 @@ class WebMediaPlayer {
virtual void exitedFullscreen() {}
// Inform WebMediaPlayer when the element starts/stops being the dominant
- // visible content.
+ // visible content. This will only be called after the monitoring of the
+ // intersection with viewport is activated by calling
+ // WebMediaPlayerClient::activateViewportIntersectionMonitoring().
virtual void becameDominantVisibleContent(bool isDominant) {}
virtual void enabledAudioTracksChanged(

Powered by Google App Engine
This is Rietveld 408576698