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

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

Issue 1689043002: Add WebMediaPlayer::exitedFullscreen() and call it from HTMLMediaElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « third_party/WebKit/Source/web/FullscreenController.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/WebMediaPlayer.h
diff --git a/third_party/WebKit/public/platform/WebMediaPlayer.h b/third_party/WebKit/public/platform/WebMediaPlayer.h
index 2cf108b246fe5231c210620f12da8859bb3011df..47f302211d0dae8333448a30801286092e79d2bd 100644
--- a/third_party/WebKit/public/platform/WebMediaPlayer.h
+++ b/third_party/WebKit/public/platform/WebMediaPlayer.h
@@ -197,10 +197,11 @@ public:
// Whether the WebMediaPlayer supports overlay fullscreen video mode. When
// this is true, the video layer will be removed from the layer tree when
// entering fullscreen, and the WebMediaPlayer is responsible for displaying
- // the video in enterFullscreen().
+ // the video in enteredFullscreen().
virtual bool supportsOverlayFullscreenVideo() { return false; }
- // Instruct WebMediaPlayer to enter/exit fullscreen.
- virtual void enterFullscreen() { }
+ // Inform WebMediaPlayer when the element has entered/exited fullscreen.
+ virtual void enteredFullscreen() { }
+ virtual void exitedFullscreen() { }
virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrackIds) { }
// |selectedTrackId| is null if no track is selected.
« no previous file with comments | « third_party/WebKit/Source/web/FullscreenController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698