| Index: content/browser/android/content_video_view.h
|
| diff --git a/content/browser/android/content_video_view.h b/content/browser/android/content_video_view.h
|
| index b482b41b2e734414f27039178042943e63e8cf65..b89b997dd6b35b3772650be64284ee8d4188a40f 100644
|
| --- a/content/browser/android/content_video_view.h
|
| +++ b/content/browser/android/content_video_view.h
|
| @@ -29,11 +29,6 @@ class ContentVideoView {
|
| public:
|
| // Construct a ContentVideoView object. The |manager| will handle all the
|
| // playback controls from the Java class.
|
| - ContentVideoView(
|
| - const base::android::ScopedJavaLocalRef<jobject>& context,
|
| - const base::android::ScopedJavaLocalRef<jobject>& client,
|
| - BrowserMediaPlayerManager* manager);
|
| -
|
| explicit ContentVideoView(BrowserMediaPlayerManager* manager);
|
|
|
| ~ContentVideoView();
|
| @@ -60,15 +55,6 @@ class ContentVideoView {
|
| // as we are quitting the app.
|
| void ExitFullscreen(JNIEnv*, jobject, jboolean release_media_player);
|
|
|
| - // Supposed to be called when the application paused or stopped.
|
| - // Destroys the fullscreen view in a way that it can be recreated
|
| - // via ResumeFullscreenIfSuspended.
|
| - void SuspendFullscreen();
|
| -
|
| - // Supposed to be called when the application switches back to foreground.
|
| - // Recreates the fullscreen view if it was suspended via SuspendFullscreen.
|
| - void ResumeFullscreenIfSuspended();
|
| -
|
| // Media control method called by the Java class.
|
| void SeekTo(JNIEnv*, jobject obj, jint msec);
|
| void Play(JNIEnv*, jobject obj);
|
| @@ -117,12 +103,6 @@ class ContentVideoView {
|
| // Weak reference of corresponding Java object.
|
| JavaObjectWeakGlobalRef j_content_video_view_;
|
|
|
| - enum FullscreenState {
|
| - ENTERED,
|
| - SUSPENDED,
|
| - RESUME
|
| - } fullscreen_state_;
|
| -
|
| // Weak pointer for posting tasks.
|
| base::WeakPtrFactory<ContentVideoView> weak_factory_;
|
|
|
|
|