Chromium Code Reviews| 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 3c95a7489447e7e4926033565ed7bc97103d10cf..1cf2c4324122f992682fa38368fe8c401ec23c58 100644 |
| --- a/content/browser/android/content_video_view.h |
| +++ b/content/browser/android/content_video_view.h |
| @@ -27,11 +27,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); |
|
bulach
2014/02/13 12:02:44
hmm... in the patches referenced in the descriptio
|
| - |
| explicit ContentVideoView(BrowserMediaPlayerManager* manager); |
| ~ContentVideoView(); |
| @@ -58,15 +53,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); |
| @@ -102,12 +88,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_; |