| OLD | NEW |
| 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 29 matching lines...) Expand all Loading... |
| 40 IPC_STRUCT_TRAITS_END() | 40 IPC_STRUCT_TRAITS_END() |
| 41 | 41 |
| 42 IPC_STRUCT_TRAITS_BEGIN(media::DemuxerData) | 42 IPC_STRUCT_TRAITS_BEGIN(media::DemuxerData) |
| 43 IPC_STRUCT_TRAITS_MEMBER(type) | 43 IPC_STRUCT_TRAITS_MEMBER(type) |
| 44 IPC_STRUCT_TRAITS_MEMBER(access_units) | 44 IPC_STRUCT_TRAITS_MEMBER(access_units) |
| 45 IPC_STRUCT_TRAITS_MEMBER(demuxer_configs) | 45 IPC_STRUCT_TRAITS_MEMBER(demuxer_configs) |
| 46 IPC_STRUCT_TRAITS_END() | 46 IPC_STRUCT_TRAITS_END() |
| 47 | 47 |
| 48 IPC_STRUCT_TRAITS_BEGIN(media::AccessUnit) | 48 IPC_STRUCT_TRAITS_BEGIN(media::AccessUnit) |
| 49 IPC_STRUCT_TRAITS_MEMBER(status) | 49 IPC_STRUCT_TRAITS_MEMBER(status) |
| 50 IPC_STRUCT_TRAITS_MEMBER(end_of_stream) | 50 IPC_STRUCT_TRAITS_MEMBER(is_end_of_stream) |
| 51 IPC_STRUCT_TRAITS_MEMBER(data) | 51 IPC_STRUCT_TRAITS_MEMBER(data) |
| 52 IPC_STRUCT_TRAITS_MEMBER(timestamp) | 52 IPC_STRUCT_TRAITS_MEMBER(timestamp) |
| 53 IPC_STRUCT_TRAITS_MEMBER(key_id) | 53 IPC_STRUCT_TRAITS_MEMBER(key_id) |
| 54 IPC_STRUCT_TRAITS_MEMBER(iv) | 54 IPC_STRUCT_TRAITS_MEMBER(iv) |
| 55 IPC_STRUCT_TRAITS_MEMBER(subsamples) | 55 IPC_STRUCT_TRAITS_MEMBER(subsamples) |
| 56 IPC_STRUCT_TRAITS_MEMBER(is_key_frame) |
| 56 IPC_STRUCT_TRAITS_END() | 57 IPC_STRUCT_TRAITS_END() |
| 57 | 58 |
| 58 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry) | 59 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry) |
| 59 IPC_STRUCT_TRAITS_MEMBER(clear_bytes) | 60 IPC_STRUCT_TRAITS_MEMBER(clear_bytes) |
| 60 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes) | 61 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes) |
| 61 IPC_STRUCT_TRAITS_END() | 62 IPC_STRUCT_TRAITS_END() |
| 62 | 63 |
| 63 IPC_ENUM_TRAITS_MAX_VALUE(MediaPlayerHostMsg_Initialize_Type, | 64 IPC_ENUM_TRAITS_MAX_VALUE(MediaPlayerHostMsg_Initialize_Type, |
| 64 MEDIA_PLAYER_TYPE_LAST) | 65 MEDIA_PLAYER_TYPE_LAST) |
| 65 | 66 |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 | 283 |
| 283 #if defined(VIDEO_HOLE) | 284 #if defined(VIDEO_HOLE) |
| 284 // Notify the player about the external surface, requesting it if necessary. | 285 // Notify the player about the external surface, requesting it if necessary. |
| 285 // |is_request| true if the player is requesting the external surface. | 286 // |is_request| true if the player is requesting the external surface. |
| 286 // |rect| the boundary rectangle of the video element. | 287 // |rect| the boundary rectangle of the video element. |
| 287 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, | 288 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, |
| 288 int /* player_id */, | 289 int /* player_id */, |
| 289 bool /* is_request */, | 290 bool /* is_request */, |
| 290 gfx::RectF /* rect */) | 291 gfx::RectF /* rect */) |
| 291 #endif // defined(VIDEO_HOLE) | 292 #endif // defined(VIDEO_HOLE) |
| OLD | NEW |