Index: content/browser/media/android/browser_media_player_manager.h |
diff --git a/content/browser/media/android/browser_media_player_manager.h b/content/browser/media/android/browser_media_player_manager.h |
index d407e7e56a873ef62c11fb4624d7b43dec2cbc6e..7813d92e5eac9b040f845975f0535c398e3fb88d 100644 |
--- a/content/browser/media/android/browser_media_player_manager.h |
+++ b/content/browser/media/android/browser_media_player_manager.h |
@@ -30,6 +30,7 @@ class MediaDrmBridge; |
namespace content { |
class BrowserDemuxerAndroid; |
+class ContentViewCoreImpl; |
class WebContents; |
// This class manages all the MediaPlayerAndroid objects. It receives |
@@ -48,6 +49,8 @@ class CONTENT_EXPORT BrowserMediaPlayerManager |
// Returns a new instance using the registered factory if available. |
static BrowserMediaPlayerManager* Create(RenderViewHost* rvh); |
+ ContentViewCoreImpl* GetContentViewCore() const; |
+ |
virtual ~BrowserMediaPlayerManager(); |
// WebContentsObserver overrides. |
@@ -59,6 +62,8 @@ class CONTENT_EXPORT BrowserMediaPlayerManager |
virtual void FullscreenPlayerSeek(int msec); |
virtual void ExitFullscreen(bool release_media_player); |
virtual void SetVideoSurface(gfx::ScopedJavaSurface surface); |
+ virtual void SuspendFullscreen(); |
+ virtual void ResumeFullscreen(gfx::ScopedJavaSurface surface); |
// Called when browser player wants the renderer media element to seek. |
// Any actual seek started by renderer will be handled by browser in OnSeek(). |
@@ -219,9 +224,6 @@ class CONTENT_EXPORT BrowserMediaPlayerManager |
// The player ID pending to enter fullscreen. |
int pending_fullscreen_player_id_; |
- // Whether the fullscreen player has been Release()-d. |
- bool fullscreen_player_is_released_; |
- |
WebContents* web_contents_; |
// Object for retrieving resources media players. |