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" |
11 #include "content/common/media/media_player_messages_enums_android.h" | 11 #include "content/common/media/media_player_messages_enums_android.h" |
12 #include "ipc/ipc_message_macros.h" | 12 #include "ipc/ipc_message_macros.h" |
| 13 #include "media/base/android/demuxer_stream_player_params.h" |
13 #include "media/base/android/media_player_android.h" | 14 #include "media/base/android/media_player_android.h" |
14 #include "media/base/android/demuxer_stream_player_params.h" | 15 #include "ui/gfx/geometry/rect_f.h" |
15 #include "ui/gfx/rect_f.h" | |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 | 17 |
18 #undef IPC_MESSAGE_EXPORT | 18 #undef IPC_MESSAGE_EXPORT |
19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
20 #define IPC_MESSAGE_START MediaPlayerMsgStart | 20 #define IPC_MESSAGE_START MediaPlayerMsgStart |
21 | 21 |
22 IPC_ENUM_TRAITS(media::AudioCodec) | 22 IPC_ENUM_TRAITS(media::AudioCodec) |
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) |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 282 |
283 #if defined(VIDEO_HOLE) | 283 #if defined(VIDEO_HOLE) |
284 // Notify the player about the external surface, requesting it if necessary. | 284 // Notify the player about the external surface, requesting it if necessary. |
285 // |is_request| true if the player is requesting the external surface. | 285 // |is_request| true if the player is requesting the external surface. |
286 // |rect| the boundary rectangle of the video element. | 286 // |rect| the boundary rectangle of the video element. |
287 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, | 287 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, |
288 int /* player_id */, | 288 int /* player_id */, |
289 bool /* is_request */, | 289 bool /* is_request */, |
290 gfx::RectF /* rect */) | 290 gfx::RectF /* rect */) |
291 #endif // defined(VIDEO_HOLE) | 291 #endif // defined(VIDEO_HOLE) |
OLD | NEW |