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

Unified Diff: content/common/media/media_player_messages_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: addressing comments 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
Index: content/common/media/media_player_messages_android.h
diff --git a/content/common/media/media_player_messages_android.h b/content/common/media/media_player_messages_android.h
index 30755fbf03d43bec1c05735d10396e17bfe56894..030b3c0927a644c77c5134d34030bba034a6e4c9 100644
--- a/content/common/media/media_player_messages_android.h
+++ b/content/common/media/media_player_messages_android.h
@@ -121,6 +121,11 @@ IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPlay,
IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPause,
int /* player_id */)
+// Media seek is requested.
+IPC_MESSAGE_ROUTED2(MediaPlayerMsg_MediaSeekRequest,
+ int /* player_id */,
+ base::TimeDelta /* time_to_seek */)
+
// The media source player reads data from demuxer
IPC_MESSAGE_ROUTED3(MediaPlayerMsg_ReadFromDemuxer,
int /* player_id */,
@@ -168,6 +173,10 @@ IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_EnterFullscreen,
IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen,
int /* player_id */)
+// Sent when the seek request is received by the WebMediaPlayerAndroid.
+IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_MediaSeekRequestAck,
+ int /* player_id */)
+
// Inform the media source player that the demuxer is ready.
IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_DemuxerReady,
int /* player_id */,

Powered by Google App Engine
This is Rietveld 408576698