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

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

Issue 110683002: Split the hole punching logic from GOOGLE_TV ifdef to VIDEO_HOLE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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 #include <vector> 9 #include <vector>
10 10
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // Sent when the data was read from the ChunkDemuxer. 263 // Sent when the data was read from the ChunkDemuxer.
264 IPC_MESSAGE_CONTROL2(MediaPlayerHostMsg_ReadFromDemuxerAck, 264 IPC_MESSAGE_CONTROL2(MediaPlayerHostMsg_ReadFromDemuxerAck,
265 int /* demuxer_client_id */, 265 int /* demuxer_client_id */,
266 media::DemuxerData) 266 media::DemuxerData)
267 267
268 // Inform the media source player of changed media duration from demuxer. 268 // Inform the media source player of changed media duration from demuxer.
269 IPC_MESSAGE_CONTROL2(MediaPlayerHostMsg_DurationChanged, 269 IPC_MESSAGE_CONTROL2(MediaPlayerHostMsg_DurationChanged,
270 int /* demuxer_client_id */, 270 int /* demuxer_client_id */,
271 base::TimeDelta /* duration */) 271 base::TimeDelta /* duration */)
272 272
273 #if defined(GOOGLE_TV) 273 #if defined(VIDEO_HOLE)
274 // Notify the player about the external surface, requesting it if necessary. 274 // Notify the player about the external surface, requesting it if necessary.
275 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, 275 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface,
276 int /* player_id */, 276 int /* player_id */,
277 bool /* is_request */, 277 bool /* is_request */,
278 gfx::RectF /* rect */) 278 gfx::RectF /* rect */)
279 279 #endif // defined(VIDEO_HOLE)
280 #endif
281 280
282 // Messages for encrypted media extensions API ------------------------------ 281 // Messages for encrypted media extensions API ------------------------------
283 // TODO(xhwang): Move the following messages to a separate file. 282 // TODO(xhwang): Move the following messages to a separate file.
284 283
285 IPC_MESSAGE_ROUTED3(MediaKeysHostMsg_InitializeCDM, 284 IPC_MESSAGE_ROUTED3(MediaKeysHostMsg_InitializeCDM,
286 int /* media_keys_id */, 285 int /* media_keys_id */,
287 std::vector<uint8> /* uuid */, 286 std::vector<uint8> /* uuid */,
288 GURL /* frame url */) 287 GURL /* frame url */)
289 288
290 IPC_MESSAGE_ROUTED4(MediaKeysHostMsg_CreateSession, 289 IPC_MESSAGE_ROUTED4(MediaKeysHostMsg_CreateSession,
(...skipping 30 matching lines...) Expand all
321 320
322 IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionClosed, 321 IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionClosed,
323 int /* media_keys_id */, 322 int /* media_keys_id */,
324 uint32_t /* session_id */) 323 uint32_t /* session_id */)
325 324
326 IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionError, 325 IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionError,
327 int /* media_keys_id */, 326 int /* media_keys_id */,
328 uint32_t /* session_id */, 327 uint32_t /* session_id */,
329 media::MediaKeys::KeyError /* error_code */, 328 media::MediaKeys::KeyError /* error_code */,
330 int /* system_code */) 329 int /* system_code */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698