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