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

Side by Side Diff: content/common/media/media_player_messages_android.h

Issue 135863004: Downloads and passes the poster image to Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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
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 #include <vector> 9 #include <vector>
10 10
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_Release, int /* player_id */) 230 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_Release, int /* player_id */)
231 231
232 // Perform a seek. 232 // Perform a seek.
233 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_Seek, 233 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_Seek,
234 int /* player_id */, 234 int /* player_id */,
235 base::TimeDelta /* time */) 235 base::TimeDelta /* time */)
236 236
237 // Start the player for playback. 237 // Start the player for playback.
238 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_Start, int /* player_id */) 238 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_Start, int /* player_id */)
239 239
240 // Start the player for playback. 240 // Set the volume.
241 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_SetVolume, 241 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_SetVolume,
242 int /* player_id */, 242 int /* player_id */,
243 double /* volume */) 243 double /* volume */)
244 244
245 // Set the poster image.
246 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_SetPoster,
247 int /* player_id */,
248 GURL /* poster url */)
249
245 // Requests the player to enter fullscreen. 250 // Requests the player to enter fullscreen.
246 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_EnterFullscreen, int /* player_id */) 251 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_EnterFullscreen, int /* player_id */)
247 252
248 // Requests the player to exit fullscreen. 253 // Requests the player to exit fullscreen.
249 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen, int /* player_id */) 254 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen, int /* player_id */)
250 255
251 // Sent after the renderer demuxer has seeked. 256 // Sent after the renderer demuxer has seeked.
252 IPC_MESSAGE_CONTROL2(MediaPlayerHostMsg_DemuxerSeekDone, 257 IPC_MESSAGE_CONTROL2(MediaPlayerHostMsg_DemuxerSeekDone,
253 int /* demuxer_client_id */, 258 int /* demuxer_client_id */,
254 base::TimeDelta /* actual_browser_seek_time */) 259 base::TimeDelta /* actual_browser_seek_time */)
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 324
320 IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionClosed, 325 IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionClosed,
321 int /* media_keys_id */, 326 int /* media_keys_id */,
322 uint32_t /* session_id */) 327 uint32_t /* session_id */)
323 328
324 IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionError, 329 IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionError,
325 int /* media_keys_id */, 330 int /* media_keys_id */,
326 uint32_t /* session_id */, 331 uint32_t /* session_id */,
327 media::MediaKeys::KeyError /* error_code */, 332 media::MediaKeys::KeyError /* error_code */,
328 int /* system_code */) 333 int /* system_code */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698