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 12 matching lines...) Expand all Loading... |
23 IPC_ENUM_TRAITS(media::DemuxerStream::Status) | 23 IPC_ENUM_TRAITS(media::DemuxerStream::Status) |
24 IPC_ENUM_TRAITS(media::DemuxerStream::Type) | 24 IPC_ENUM_TRAITS(media::DemuxerStream::Type) |
25 IPC_ENUM_TRAITS(media::VideoCodec) | 25 IPC_ENUM_TRAITS(media::VideoCodec) |
26 | 26 |
27 IPC_STRUCT_TRAITS_BEGIN(media::DemuxerConfigs) | 27 IPC_STRUCT_TRAITS_BEGIN(media::DemuxerConfigs) |
28 IPC_STRUCT_TRAITS_MEMBER(audio_codec) | 28 IPC_STRUCT_TRAITS_MEMBER(audio_codec) |
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 IPC_STRUCT_TRAITS_MEMBER(audio_codec_delay_ns) |
| 34 IPC_STRUCT_TRAITS_MEMBER(audio_seek_preroll_ns) |
33 | 35 |
34 IPC_STRUCT_TRAITS_MEMBER(video_codec) | 36 IPC_STRUCT_TRAITS_MEMBER(video_codec) |
35 IPC_STRUCT_TRAITS_MEMBER(video_size) | 37 IPC_STRUCT_TRAITS_MEMBER(video_size) |
36 IPC_STRUCT_TRAITS_MEMBER(is_video_encrypted) | 38 IPC_STRUCT_TRAITS_MEMBER(is_video_encrypted) |
37 IPC_STRUCT_TRAITS_MEMBER(video_extra_data) | 39 IPC_STRUCT_TRAITS_MEMBER(video_extra_data) |
38 | 40 |
39 IPC_STRUCT_TRAITS_MEMBER(duration) | 41 IPC_STRUCT_TRAITS_MEMBER(duration) |
40 IPC_STRUCT_TRAITS_END() | 42 IPC_STRUCT_TRAITS_END() |
41 | 43 |
42 IPC_STRUCT_TRAITS_BEGIN(media::DemuxerData) | 44 IPC_STRUCT_TRAITS_BEGIN(media::DemuxerData) |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 284 |
283 #if defined(VIDEO_HOLE) | 285 #if defined(VIDEO_HOLE) |
284 // Notify the player about the external surface, requesting it if necessary. | 286 // Notify the player about the external surface, requesting it if necessary. |
285 // |is_request| true if the player is requesting the external surface. | 287 // |is_request| true if the player is requesting the external surface. |
286 // |rect| the boundary rectangle of the video element. | 288 // |rect| the boundary rectangle of the video element. |
287 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, | 289 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, |
288 int /* player_id */, | 290 int /* player_id */, |
289 bool /* is_request */, | 291 bool /* is_request */, |
290 gfx::RectF /* rect */) | 292 gfx::RectF /* rect */) |
291 #endif // defined(VIDEO_HOLE) | 293 #endif // defined(VIDEO_HOLE) |
OLD | NEW |