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

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

Issue 2235473002: Notify WebMediaPlayer when HTML video enters full screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 9979e856dae347c8f0d7c1aa103727dd3751640c..c9970b0d480e89540021a23eed95d002880a3a3b 100644
--- a/third_party/WebKit/public/platform/WebMediaPlayer.h
+++ b/third_party/WebKit/public/platform/WebMediaPlayer.h
@@ -200,6 +200,11 @@ public:
virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrackIds) { }
// |selectedTrackId| is null if no track is selected.
virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { }
+
+ // Inform the WebMediaPlayer whether the media is in full screen display.
+ // The media could enter/exit full screen when either the element itself
+ // or its parent element enters/exits full screen.
+ virtual void updateMediaInFullscreen(bool isFullscreen) {}
aelias_OOO_until_Jul13 2016/08/10 01:14:59 Please file a BUG= tracking the underlying feature
xjz 2016/08/10 21:33:29 There is no private branch. The other part should
aelias_OOO_until_Jul13 2016/08/10 21:55:12 Good to hear, thanks! Please ping me again when t
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698