| 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. |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 // supported), is sent from the GPU process to the browser to indicate that a | 135 // supported), is sent from the GPU process to the browser to indicate that a |
| 136 // new backing store was allocated for the given "window" (fake | 136 // new backing store was allocated for the given "window" (fake |
| 137 // PluginWindowHandle). The renderer ID and render view ID are needed in | 137 // PluginWindowHandle). The renderer ID and render view ID are needed in |
| 138 // order to uniquely identify the RenderWidgetHostView on the browser side. | 138 // order to uniquely identify the RenderWidgetHostView on the browser side. |
| 139 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSetIOSurface, | 139 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSetIOSurface, |
| 140 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params) | 140 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params) |
| 141 | 141 |
| 142 // This message notifies the browser process that the renderer | 142 // This message notifies the browser process that the renderer |
| 143 // swapped the buffers associated with the given "window", which | 143 // swapped the buffers associated with the given "window", which |
| 144 // should cause the browser to redraw the compositor's contents. | 144 // should cause the browser to redraw the compositor's contents. |
| 145 IPC_MESSAGE_CONTROL3(GpuHostMsg_AcceleratedSurfaceBuffersSwapped, | 145 IPC_MESSAGE_CONTROL4(GpuHostMsg_AcceleratedSurfaceBuffersSwapped, |
| 146 int32, /* renderer_id */ | 146 int32, /* renderer_id */ |
| 147 int32, /* render_view_id */ | 147 int32, /* render_view_id */ |
| 148 gfx::PluginWindowHandle /* window */) | 148 gfx::PluginWindowHandle /* window */, |
| 149 uint64 /* surface_id */) |
| 149 #endif | 150 #endif |
| 150 | 151 |
| 151 IPC_END_MESSAGES(GpuHost) | 152 IPC_END_MESSAGES(GpuHost) |
| 152 | 153 |
| 153 //------------------------------------------------------------------------------ | 154 //------------------------------------------------------------------------------ |
| 154 // GPU Channel Messages | 155 // GPU Channel Messages |
| 155 // These are messages from a renderer process to the GPU process. | 156 // These are messages from a renderer process to the GPU process. |
| 156 IPC_BEGIN_MESSAGES(GpuChannel) | 157 IPC_BEGIN_MESSAGES(GpuChannel) |
| 157 | 158 |
| 158 // Tells the GPU process to create a new command buffer that renders directly | 159 // Tells the GPU process to create a new command buffer that renders directly |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 | 368 |
| 368 // GpuVideoDecoder report output format change. | 369 // GpuVideoDecoder report output format change. |
| 369 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, | 370 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, |
| 370 GpuVideoDecoderFormatChangeParam) | 371 GpuVideoDecoderFormatChangeParam) |
| 371 | 372 |
| 372 // GpuVideoDecoder report error. | 373 // GpuVideoDecoder report error. |
| 373 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, | 374 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, |
| 374 GpuVideoDecoderErrorInfoParam) | 375 GpuVideoDecoderErrorInfoParam) |
| 375 | 376 |
| 376 IPC_END_MESSAGES(GpuVideoDecoderHost) | 377 IPC_END_MESSAGES(GpuVideoDecoderHost) |
| OLD | NEW |