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/demuxer_stream_player_params.h" |
14 #include "media/base/android/media_player_android.h" | |
15 #include "ui/gfx/geometry/rect_f.h" | 14 #include "ui/gfx/geometry/rect_f.h" |
16 #include "url/gurl.h" | 15 #include "url/gurl.h" |
17 | 16 |
18 #undef IPC_MESSAGE_EXPORT | 17 #undef IPC_MESSAGE_EXPORT |
19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 18 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
20 #define IPC_MESSAGE_START MediaPlayerMsgStart | 19 #define IPC_MESSAGE_START MediaPlayerMsgStart |
21 | 20 |
22 IPC_ENUM_TRAITS(media::AudioCodec) | 21 IPC_ENUM_TRAITS(media::AudioCodec) |
23 IPC_ENUM_TRAITS(media::DemuxerStream::Status) | 22 IPC_ENUM_TRAITS(media::DemuxerStream::Status) |
24 IPC_ENUM_TRAITS(media::DemuxerStream::Type) | 23 IPC_ENUM_TRAITS(media::DemuxerStream::Type) |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 | 274 |
276 #if defined(VIDEO_HOLE) | 275 #if defined(VIDEO_HOLE) |
277 // Notify the player about the external surface, requesting it if necessary. | 276 // Notify the player about the external surface, requesting it if necessary. |
278 // |is_request| true if the player is requesting the external surface. | 277 // |is_request| true if the player is requesting the external surface. |
279 // |rect| the boundary rectangle of the video element. | 278 // |rect| the boundary rectangle of the video element. |
280 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, | 279 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, |
281 int /* player_id */, | 280 int /* player_id */, |
282 bool /* is_request */, | 281 bool /* is_request */, |
283 gfx::RectF /* rect */) | 282 gfx::RectF /* rect */) |
284 #endif // defined(VIDEO_HOLE) | 283 #endif // defined(VIDEO_HOLE) |
OLD | NEW |