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

Unified Diff: webkit/media/android/webmediaplayer_android.h

Issue 10979047: Upstream fullscreen video implementation for android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merging latest changes Created 8 years, 2 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
« no previous file with comments | « webkit/media/android/media_metadata_android.cc ('k') | webkit/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/android/webmediaplayer_android.h
diff --git a/webkit/media/android/webmediaplayer_android.h b/webkit/media/android/webmediaplayer_android.h
index 9869e3080445802e3569408297e17a8d853407af..dcae067d07bb18fc9a86d2f17e9b101e527d3714 100644
--- a/webkit/media/android/webmediaplayer_android.h
+++ b/webkit/media/android/webmediaplayer_android.h
@@ -137,9 +137,12 @@ class WebMediaPlayerAndroid
virtual void UpdateReadyState(WebKit::WebMediaPlayer::ReadyState state);
// Helper method to reestablish the surface texture peer for android
- // mediaplayer.
+ // media player.
virtual void EstablishSurfaceTexturePeer();
+ // Requesting whether the surface texture peer needs to be reestablished.
+ virtual void SetNeedsEstablishPeer(bool needs_establish_peer);
+
// Method to be implemented by child classes.
// Initialize the media player bridge object.
virtual void InitializeMediaPlayer(GURL url) = 0;
@@ -164,7 +167,9 @@ class WebMediaPlayerAndroid
WebKit::WebMediaPlayerClient* client() { return client_; }
- int player_id() { return player_id_; }
+ int player_id() const { return player_id_; }
+
+ WebMediaPlayerManagerAndroid* manager() const { return manager_; }
private:
WebKit::WebMediaPlayerClient* const client_;
« no previous file with comments | « webkit/media/android/media_metadata_android.cc ('k') | webkit/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698