| 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 18 matching lines...) Expand all Loading... |
| 29 IPC_STRUCT_TRAITS_MEMBER(audio_channels) | 29 IPC_STRUCT_TRAITS_MEMBER(audio_channels) |
| 30 IPC_STRUCT_TRAITS_MEMBER(audio_sampling_rate) | 30 IPC_STRUCT_TRAITS_MEMBER(audio_sampling_rate) |
| 31 IPC_STRUCT_TRAITS_MEMBER(is_audio_encrypted) | 31 IPC_STRUCT_TRAITS_MEMBER(is_audio_encrypted) |
| 32 IPC_STRUCT_TRAITS_MEMBER(audio_extra_data) | 32 IPC_STRUCT_TRAITS_MEMBER(audio_extra_data) |
| 33 | 33 |
| 34 IPC_STRUCT_TRAITS_MEMBER(video_codec) | 34 IPC_STRUCT_TRAITS_MEMBER(video_codec) |
| 35 IPC_STRUCT_TRAITS_MEMBER(video_size) | 35 IPC_STRUCT_TRAITS_MEMBER(video_size) |
| 36 IPC_STRUCT_TRAITS_MEMBER(is_video_encrypted) | 36 IPC_STRUCT_TRAITS_MEMBER(is_video_encrypted) |
| 37 IPC_STRUCT_TRAITS_MEMBER(video_extra_data) | 37 IPC_STRUCT_TRAITS_MEMBER(video_extra_data) |
| 38 | 38 |
| 39 IPC_STRUCT_TRAITS_MEMBER(duration_ms) | 39 IPC_STRUCT_TRAITS_MEMBER(duration) |
| 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_END() | 45 IPC_STRUCT_TRAITS_END() |
| 46 | 46 |
| 47 IPC_STRUCT_TRAITS_BEGIN(media::AccessUnit) | 47 IPC_STRUCT_TRAITS_BEGIN(media::AccessUnit) |
| 48 IPC_STRUCT_TRAITS_MEMBER(status) | 48 IPC_STRUCT_TRAITS_MEMBER(status) |
| 49 IPC_STRUCT_TRAITS_MEMBER(end_of_stream) | 49 IPC_STRUCT_TRAITS_MEMBER(end_of_stream) |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 | 277 |
| 278 #if defined(VIDEO_HOLE) | 278 #if defined(VIDEO_HOLE) |
| 279 // Notify the player about the external surface, requesting it if necessary. | 279 // Notify the player about the external surface, requesting it if necessary. |
| 280 // |is_request| true if the player is requesting the external surface. | 280 // |is_request| true if the player is requesting the external surface. |
| 281 // |rect| the boundary rectangle of the video element. | 281 // |rect| the boundary rectangle of the video element. |
| 282 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, | 282 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, |
| 283 int /* player_id */, | 283 int /* player_id */, |
| 284 bool /* is_request */, | 284 bool /* is_request */, |
| 285 gfx::RectF /* rect */) | 285 gfx::RectF /* rect */) |
| 286 #endif // defined(VIDEO_HOLE) | 286 #endif // defined(VIDEO_HOLE) |
| OLD | NEW |