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

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

Issue 302453012: Support casting for embedded YT videos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated comments Created 6 years, 6 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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // first_party_for_cookies: the cookie store to use when loading a URL. 206 // first_party_for_cookies: the cookie store to use when loading a URL.
207 // 207 //
208 // demuxer_client_id: the demuxer associated with this player when initializing 208 // demuxer_client_id: the demuxer associated with this player when initializing
209 // a media source player. 209 // a media source player.
210 IPC_MESSAGE_ROUTED5( 210 IPC_MESSAGE_ROUTED5(
211 MediaPlayerHostMsg_Initialize, 211 MediaPlayerHostMsg_Initialize,
212 MediaPlayerHostMsg_Initialize_Type /* type */, 212 MediaPlayerHostMsg_Initialize_Type /* type */,
213 int /* player_id */, 213 int /* player_id */,
214 GURL /* url */, 214 GURL /* url */,
215 GURL /* first_party_for_cookies */, 215 GURL /* first_party_for_cookies */,
216 int /* demuxer_client_id */) 216 int /* demuxer_client_id */);
217
218 // Sets the URL of the frame containing the video with the given player_id
219 IPC_MESSAGE_ROUTED2(
220 MediaPlayerHostMsg_SetFrameUrl,
221 int /* player_id */,
222 GURL /* frame_source_url */);
aberent 2014/05/28 17:32:31 I don't like adding this message just to get round
May 2014/06/04 14:05:08 Done.
217 223
218 // Pause the player. 224 // Pause the player.
219 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_Pause, 225 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_Pause,
220 int /* player_id */, 226 int /* player_id */,
221 bool /* is_media_related_action */) 227 bool /* is_media_related_action */)
222 228
223 // Release player resources, but keep the object for future usage. 229 // Release player resources, but keep the object for future usage.
224 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_Release, int /* player_id */) 230 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_Release, int /* player_id */)
225 231
226 // Perform a seek. 232 // Perform a seek.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 280
275 #if defined(VIDEO_HOLE) 281 #if defined(VIDEO_HOLE)
276 // Notify the player about the external surface, requesting it if necessary. 282 // Notify the player about the external surface, requesting it if necessary.
277 // |is_request| true if the player is requesting the external surface. 283 // |is_request| true if the player is requesting the external surface.
278 // |rect| the boundary rectangle of the video element. 284 // |rect| the boundary rectangle of the video element.
279 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, 285 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface,
280 int /* player_id */, 286 int /* player_id */,
281 bool /* is_request */, 287 bool /* is_request */,
282 gfx::RectF /* rect */) 288 gfx::RectF /* rect */)
283 #endif // defined(VIDEO_HOLE) 289 #endif // defined(VIDEO_HOLE)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698