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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for android media player. 5 // IPC messages for android media player.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 int /* player_id */) 116 int /* player_id */)
117 117
118 // The player started playing. 118 // The player started playing.
119 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPlay, 119 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPlay,
120 int /* player_id */) 120 int /* player_id */)
121 121
122 // The player was paused. 122 // The player was paused.
123 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPause, 123 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPause,
124 int /* player_id */) 124 int /* player_id */)
125 125
126 // Media seek is requested.
127 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_MediaSeekRequest,
128 int /* player_id */,
129 base::TimeDelta /* time_to_seek */)
130
126 #if defined(OS_ANDROID) 131 #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
127 // The media source player reads data from demuxer 132 // The media source player reads data from demuxer
128 IPC_MESSAGE_ROUTED3(MediaPlayerMsg_ReadFromDemuxer, 133 IPC_MESSAGE_ROUTED3(MediaPlayerMsg_ReadFromDemuxer,
129 int /* player_id */, 134 int /* player_id */,
130 media::DemuxerStream::Type /* type */, 135 media::DemuxerStream::Type /* type */,
131 bool /* seek_done */) 136 bool /* seek_done */)
132 #endif 137 #endif
133 138
134 // Messages for controllering the media playback in browser process ---------- 139 // Messages for controllering the media playback in browser process ----------
135 140
136 // Destroy the media player object. 141 // Destroy the media player object.
(...skipping 28 matching lines...) Expand all
165 int /* player_id */) 170 int /* player_id */)
166 171
167 // Request the player to enter fullscreen. 172 // Request the player to enter fullscreen.
168 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_EnterFullscreen, 173 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_EnterFullscreen,
169 int /* player_id */) 174 int /* player_id */)
170 175
171 // Request the player to exit fullscreen. 176 // Request the player to exit fullscreen.
172 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen, 177 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen,
173 int /* player_id */) 178 int /* player_id */)
174 179
180 // Sent when the seek request is received by the WebMediaPlayerAndroid.
181 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_MediaSeekRequestAck,
182 int /* player_id */)
183
175 #if defined(OS_ANDROID) 184 #if defined(OS_ANDROID)
acolwell GONE FROM CHROMIUM 2013/05/21 17:49:42 nit: ditto
qinmin 2013/05/21 23:04:56 Done.
176 // Inform the media source player that the demuxer is ready. 185 // Inform the media source player that the demuxer is ready.
177 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_DemuxerReady, 186 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_DemuxerReady,
178 int /* player_id */, 187 int /* player_id */,
179 media::MediaPlayerHostMsg_DemuxerReady_Params) 188 media::MediaPlayerHostMsg_DemuxerReady_Params)
180 189
181 // Sent when the data was read from the ChunkDemuxer. 190 // Sent when the data was read from the ChunkDemuxer.
182 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_ReadFromDemuxerAck, 191 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_ReadFromDemuxerAck,
183 int /* player_id */, 192 int /* player_id */,
184 media::MediaPlayerHostMsg_ReadFromDemuxerAck_Params) 193 media::MediaPlayerHostMsg_ReadFromDemuxerAck_Params)
185 #endif 194 #endif
186 195
187 #if defined(GOOGLE_TV) 196 #if defined(GOOGLE_TV)
188 // Notify the player about the external surface, requesting it if necessary. 197 // Notify the player about the external surface, requesting it if necessary.
189 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, 198 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface,
190 int /* player_id */, 199 int /* player_id */,
191 bool /* is_request */, 200 bool /* is_request */,
192 gfx::RectF /* rect */) 201 gfx::RectF /* rect */)
193 202
194 #endif 203 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698