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

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

Issue 2204673004: WIP - WebMediaPlayer switch media renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add switching of CdmFactory. 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..43bfdfaf16b60fe3bf20bcd22d3ea845c4e0a137 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 video enters/exits full screen display
+ // when its parent element enters/exits full screen.
+ virtual void videoEnteredFullscreen() {}
+ virtual void videoExitedFullscreen() {}
liberato (no reviews please) 2016/08/29 16:49:12 please move these to be near entered/exitedFullscr
xjz 2016/09/09 23:13:06 Done.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698