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

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

Issue 15499006: Enable seek in fullscreen mode for MSE impl on android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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_source_delegate.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 f3440866a9abb0fa8c16861b26af473e8e7156e1..7d45d37134a1f079a4da30edac8bd603ca26f8eb 100644
--- a/webkit/media/android/webmediaplayer_android.h
+++ b/webkit/media/android/webmediaplayer_android.h
@@ -146,16 +146,18 @@ class WebMediaPlayerAndroid
OVERRIDE;
// Media player callback handlers.
- virtual void OnMediaMetadataChanged(base::TimeDelta duration, int width,
- int height, bool success);
- virtual void OnPlaybackComplete();
- virtual void OnBufferingUpdate(int percentage);
- virtual void OnSeekComplete(base::TimeDelta current_time);
- virtual void OnMediaError(int error_type);
- virtual void OnVideoSizeChanged(int width, int height);
+ void OnMediaMetadataChanged(base::TimeDelta duration, int width,
+ int height, bool success);
+ void OnPlaybackComplete();
+ void OnBufferingUpdate(int percentage);
+ void OnSeekComplete(base::TimeDelta current_time);
+ void OnMediaError(int error_type);
+ void OnVideoSizeChanged(int width, int height);
+ void OnMediaSeekRequest(base::TimeDelta time_to_seek,
+ bool request_texture_peer);
// Called to update the current time.
- virtual void OnTimeUpdate(base::TimeDelta current_time);
+ void OnTimeUpdate(base::TimeDelta current_time);
// Functions called when media player status changes.
void OnMediaPlayerPlay();
@@ -278,6 +280,9 @@ class WebMediaPlayerAndroid
// Whether media player needs to re-establish the surface texture peer.
bool needs_establish_peer_;
+ // Whether |stream_texture_proxy_| is initialized.
+ bool stream_texture_proxy_initialized_;
+
// Whether the video size info is available.
bool has_size_info_;
« no previous file with comments | « webkit/media/android/media_source_delegate.cc ('k') | webkit/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698