| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 the Cast Media Acceleration (CMA) pipeline. | 5 // IPC messages for the Cast Media Acceleration (CMA) pipeline. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "chromecast/common/media/cma_ipc_common.h" | 10 #include "chromecast/common/media/cma_ipc_common.h" |
| 11 #include "chromecast/common/media/cma_param_traits.h" | 11 #include "chromecast/common/media/cma_param_traits.h" |
| 12 #include "chromecast/common/media/cma_param_traits_macros.h" | 12 #include "chromecast/common/media/cma_param_traits_macros.h" |
| 13 #include "chromecast/media/cma/pipeline/load_type.h" | 13 #include "chromecast/media/cma/pipeline/load_type.h" |
| 14 #include "content/public/common/common_param_traits.h" | 14 #include "content/public/common/common_param_traits.h" |
| 15 #include "ipc/ipc_message_macros.h" | 15 #include "ipc/ipc_message_macros.h" |
| 16 #include "media/base/audio_decoder_config.h" | 16 #include "media/base/audio_decoder_config.h" |
| 17 #include "media/base/buffering_state.h" | 17 #include "media/base/buffering_state.h" |
| 18 #include "media/base/pipeline_status.h" | 18 #include "media/base/pipeline_status.h" |
| 19 #include "media/base/video_decoder_config.h" | 19 #include "media/base/video_decoder_config.h" |
| 20 #include "ui/gfx/ipc/gfx_param_traits.h" | 20 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 21 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
| 21 | 22 |
| 22 #undef IPC_MESSAGE_EXPORT | 23 #undef IPC_MESSAGE_EXPORT |
| 23 #define IPC_MESSAGE_EXPORT | 24 #define IPC_MESSAGE_EXPORT |
| 24 #define IPC_MESSAGE_START CastMediaMsgStart | 25 #define IPC_MESSAGE_START CastMediaMsgStart |
| 25 | 26 |
| 26 // Messages sent from the renderer to the browser process. | 27 // Messages sent from the renderer to the browser process. |
| 27 | 28 |
| 28 IPC_MESSAGE_CONTROL2(CmaHostMsg_CreateMedia, | 29 IPC_MESSAGE_CONTROL2(CmaHostMsg_CreateMedia, |
| 29 int /* Media pipeline ID */, | 30 int /* Media pipeline ID */, |
| 30 chromecast::media::LoadType /* Load type */) | 31 chromecast::media::LoadType /* Load type */) |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 chromecast::media::TrackId /* Track ID */, | 104 chromecast::media::TrackId /* Track ID */, |
| 104 media::PipelineStatus /* status */) | 105 media::PipelineStatus /* status */) |
| 105 IPC_MESSAGE_CONTROL3(CmaMsg_PlaybackStatistics, | 106 IPC_MESSAGE_CONTROL3(CmaMsg_PlaybackStatistics, |
| 106 int /* Media pipeline ID */, | 107 int /* Media pipeline ID */, |
| 107 chromecast::media::TrackId /* Track ID */, | 108 chromecast::media::TrackId /* Track ID */, |
| 108 media::PipelineStatistics /* status */) | 109 media::PipelineStatistics /* status */) |
| 109 IPC_MESSAGE_CONTROL3(CmaMsg_NaturalSizeChanged, | 110 IPC_MESSAGE_CONTROL3(CmaMsg_NaturalSizeChanged, |
| 110 int /* Media pipeline ID */, | 111 int /* Media pipeline ID */, |
| 111 chromecast::media::TrackId /* Track ID */, | 112 chromecast::media::TrackId /* Track ID */, |
| 112 gfx::Size /* Size */) | 113 gfx::Size /* Size */) |
| OLD | NEW |