| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. It is included by backing_store_messages_internal.h | 6 // header guard. It is included by backing_store_messages_internal.h |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 // This file needs to be included again, even though we're actually included | 9 // This file needs to be included again, even though we're actually included |
| 10 // from it via utility_messages.h. | 10 // from it via utility_messages.h. |
| 11 #include "base/shared_memory.h" | 11 #include "base/shared_memory.h" |
| 12 #include "chrome/common/gpu_info.h" | |
| 13 #include "chrome/common/gpu_video_common.h" | 12 #include "chrome/common/gpu_video_common.h" |
| 14 #include "gfx/size.h" | |
| 15 #include "ipc/ipc_channel_handle.h" | |
| 16 #include "ipc/ipc_message_macros.h" | 13 #include "ipc/ipc_message_macros.h" |
| 17 | 14 |
| 15 namespace gfx { |
| 16 class Size; |
| 17 } |
| 18 |
| 19 namespace IPC { |
| 20 struct ChannelHandle; |
| 21 } |
| 22 |
| 23 class GPUInfo; |
| 24 |
| 18 //------------------------------------------------------------------------------ | 25 //------------------------------------------------------------------------------ |
| 19 // GPU Messages | 26 // GPU Messages |
| 20 // These are messages from the browser to the GPU process. | 27 // These are messages from the browser to the GPU process. |
| 21 IPC_BEGIN_MESSAGES(Gpu) | 28 IPC_BEGIN_MESSAGES(Gpu) |
| 22 | 29 |
| 23 // Tells the GPU process to create a new channel for communication with a | 30 // Tells the GPU process to create a new channel for communication with a |
| 24 // given renderer. The channel name is returned in a | 31 // given renderer. The channel name is returned in a |
| 25 // GpuHostMsg_ChannelEstablished message. The renderer ID is passed so that | 32 // GpuHostMsg_ChannelEstablished message. The renderer ID is passed so that |
| 26 // the GPU process reuses an existing channel to that process if it exists. | 33 // the GPU process reuses an existing channel to that process if it exists. |
| 27 // This ID is a unique opaque identifier generated by the browser process. | 34 // This ID is a unique opaque identifier generated by the browser process. |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 // GpuVideoDecoder report output format change. | 321 // GpuVideoDecoder report output format change. |
| 315 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, | 322 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, |
| 316 GpuVideoDecoderFormatChangeParam) | 323 GpuVideoDecoderFormatChangeParam) |
| 317 | 324 |
| 318 // GpuVideoDecoder report error. | 325 // GpuVideoDecoder report error. |
| 319 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, | 326 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, |
| 320 GpuVideoDecoderErrorInfoParam) | 327 GpuVideoDecoderErrorInfoParam) |
| 321 | 328 |
| 322 IPC_END_MESSAGES(GpuVideoDecoderHost) | 329 IPC_END_MESSAGES(GpuVideoDecoderHost) |
| 323 | 330 |
| OLD | NEW |