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

Unified Diff: content/common/media/media_player_messages.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: nits 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.h
diff --git a/content/common/media/media_player_messages.h b/content/common/media/media_player_messages.h
index cee9579ec351e2584eaf8b2d778ea9bb968f3b35..7b5e4da8a71fddba9c710d5805170284e44363ab 100644
--- a/content/common/media/media_player_messages.h
+++ b/content/common/media/media_player_messages.h
@@ -123,6 +123,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 */)
+
#if defined(OS_ANDROID)
acolwell GONE FROM CHROMIUM 2013/05/21 17:49:42 nit: Is this #if still needed?
qinmin 2013/05/21 23:04:56 Synced to the TOT, and this should be gone. On 20
// The media source player reads data from demuxer
IPC_MESSAGE_ROUTED3(MediaPlayerMsg_ReadFromDemuxer,
@@ -172,6 +177,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 */)
+
#if defined(OS_ANDROID)
acolwell GONE FROM CHROMIUM 2013/05/21 17:49:42 nit: ditto
qinmin 2013/05/21 23:04:56 Done.
// Inform the media source player that the demuxer is ready.
IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_DemuxerReady,

Powered by Google App Engine
This is Rietveld 408576698