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

Unified Diff: content/browser/media/android/browser_media_player_manager.h

Issue 157783004: Partial revert of "Restart fullscreen video playback when switching back from background" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 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: 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 06f27e54d06cbc619cd33017bcf03e469ea8c07a..bf20838a44d1baab081eca5a37feae1a0e134646 100644
--- a/content/browser/media/android/browser_media_player_manager.h
+++ b/content/browser/media/android/browser_media_player_manager.h
@@ -62,8 +62,6 @@ 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().
@@ -232,6 +230,9 @@ 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.
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/media/android/browser_media_player_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698