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

Unified Diff: webkit/media/android/webmediaplayer_impl_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/webmediaplayer_android.cc ('k') | webkit/media/android/webmediaplayer_impl_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/android/webmediaplayer_impl_android.h
diff --git a/webkit/media/android/webmediaplayer_impl_android.h b/webkit/media/android/webmediaplayer_impl_android.h
index 20a87e10e3d6983f4fc6e310bb3004f29a7f65a3..850642d218719717e61ff1d6b583e2d7e16c3219 100644
--- a/webkit/media/android/webmediaplayer_impl_android.h
+++ b/webkit/media/android/webmediaplayer_impl_android.h
@@ -45,6 +45,17 @@ class WebMediaPlayerImplAndroid : public WebMediaPlayerAndroid {
StreamTextureFactory* factory);
virtual ~WebMediaPlayerImplAndroid();
+ // WebKit::WebMediaPlayer implementation.
+ virtual void enterFullscreen();
+ virtual void exitFullscreen();
+ virtual bool canEnterFullscreen() const;
+
+ // Functions called when media player status changes.
+ void OnMediaPlayerPlay();
+ void OnMediaPlayerPause();
+ void OnDidEnterFullscreen();
+ void OnDidExitFullscreen();
+
// WebMediaPlayerAndroid implementation.
virtual void OnTimeUpdate(base::TimeDelta current_time) OVERRIDE;
virtual void SetVideoSurface(jobject j_surface) OVERRIDE;
« no previous file with comments | « webkit/media/android/webmediaplayer_android.cc ('k') | webkit/media/android/webmediaplayer_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698