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

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

Issue 1655083002: Enable SurfaceView fullscreen video on Android with WebMediaPlayerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@avda-sv
Patch Set: cleaned up 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
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..b2a23e39c938df1a528e20b0f0014be531bd75bf 100644
--- a/third_party/WebKit/public/platform/WebMediaPlayer.h
+++ b/third_party/WebKit/public/platform/WebMediaPlayer.h
@@ -199,8 +199,9 @@ public:
// entering fullscreen, and the WebMediaPlayer is responsible for displaying
// the video in enterFullscreen().
virtual bool supportsOverlayFullscreenVideo() { return false; }
- // Instruct WebMediaPlayer to enter/exit fullscreen.
+ // Inform WebMediaPlayer when the element has entered/exited fullscreen.
virtual void enterFullscreen() { }
+ virtual void exitedFullscreen() { }
virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrackIds) { }
// |selectedTrackId| is null if no track is selected.
« media/blink/webmediaplayer_impl.h ('K') | « 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