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

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

Issue 2756553002: Force the video to go fullscreen when setting persistent video (Closed)
Patch Set: addressed nits Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElementPersistentVideoTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebMediaPlayerClient.h
diff --git a/third_party/WebKit/public/platform/WebMediaPlayerClient.h b/third_party/WebKit/public/platform/WebMediaPlayerClient.h
index 192c94607fc8ff07e093885ee93a49e78f050eeb..1ea5b578aaed8ff192241593c7b9db34bae303d3 100644
--- a/third_party/WebKit/public/platform/WebMediaPlayerClient.h
+++ b/third_party/WebKit/public/platform/WebMediaPlayerClient.h
@@ -95,6 +95,10 @@ class BLINK_PLATFORM_EXPORT WebMediaPlayerClient {
virtual void cancelledRemotePlaybackRequest() = 0;
virtual void remotePlaybackStarted() = 0;
+ // Set the player as the persistent video. Persistent video should hide its
+ // controls and go fullscreen.
+ virtual void onBecamePersistentVideo(bool) = 0;
+
// After the monitoring is activated, the client will inform WebMediaPlayer
// when the element becomes/stops being the dominant visible content by
// calling WebMediaPlayer::becameDominantVisibleContent(bool).
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElementPersistentVideoTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698