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

Unified Diff: media/base/android/media_player_manager.h

Issue 378543002: Skip to enter the fullscreen automatically when hole-punching is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: guarded by VIDEO_HOLE. Created 6 years, 5 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: media/base/android/media_player_manager.h
diff --git a/media/base/android/media_player_manager.h b/media/base/android/media_player_manager.h
index 50e6f06dee1a4065dc8a4165f9bc73ae8b28cfb4..0b79f187d659a5b7061322b5093a94c41377aef4 100644
--- a/media/base/android/media_player_manager.h
+++ b/media/base/android/media_player_manager.h
@@ -65,6 +65,12 @@ class MEDIA_EXPORT MediaPlayerManager {
// Called by the player to get a hardware protected surface.
virtual void RequestFullScreen(int player_id) = 0;
+
+#if defined(VIDEO_HOLE)
+ // Returns true if a media player should use video-overlay for the embedded
+ // encrypted video.
+ virtual bool ShouldUseVideoOverlayForEmbeddedEncryptedVideo() = 0;
+#endif // defined(VIDEO_HOLE)
};
} // namespace media
« no previous file with comments | « content/browser/media/android/browser_media_player_manager.cc ('k') | media/base/android/media_source_player.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698