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

Unified Diff: content/browser/android/media_player_manager_android.h

Issue 11442056: Add external surface rendering mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Separated GLRenderer change out; refined messaging scheme. Created 7 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/android/media_player_manager_android.h
diff --git a/content/browser/android/media_player_manager_android.h b/content/browser/android/media_player_manager_android.h
index 9e7dc4bc8e858902486a05bece92be711e986fc3..9102e986a76591b367d36c323f9daa42b5b72488 100644
--- a/content/browser/android/media_player_manager_android.h
+++ b/content/browser/android/media_player_manager_android.h
@@ -76,14 +76,17 @@ class MediaPlayerManagerAndroid
void OnReleaseResources(int player_id);
void OnDestroyPlayer(int player_id);
+ // Helper methods
+ void ExitFromVideoView(int player_id, bool pause);
+
// An array of managed players.
ScopedVector<media::MediaPlayerBridge> players_;
// The fullscreen video view object.
ContentVideoView video_view_;
- // Player ID of the fullscreen media player.
- int fullscreen_player_id_;
+ // Player ID of the media player that uses video view.
+ int video_view_player_id_;
DISALLOW_COPY_AND_ASSIGN(MediaPlayerManagerAndroid);
};
« no previous file with comments | « content/browser/android/content_video_view.cc ('k') | content/browser/android/media_player_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698