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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 // PluginWindowHandle). The renderer ID and render view ID are needed in | 106 // PluginWindowHandle). The renderer ID and render view ID are needed in |
107 // order to uniquely identify the RenderWidgetHostView on the browser side. | 107 // order to uniquely identify the RenderWidgetHostView on the browser side. |
108 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSetIOSurface, | 108 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSetIOSurface, |
109 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params) | 109 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params) |
110 | 110 |
111 // This message notifies the browser process that the renderer | 111 // This message notifies the browser process that the renderer |
112 // swapped the buffers associated with the given "window", which | 112 // swapped the buffers associated with the given "window", which |
113 // should cause the browser to redraw the compositor's contents. | 113 // should cause the browser to redraw the compositor's contents. |
114 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceBuffersSwapped, | 114 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceBuffersSwapped, |
115 GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 115 GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
| 116 #elif defined(OS_WIN) |
| 117 // Create and get the HWND for the compositor window |
| 118 IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_CreateCompositorHostWindow, |
| 119 int32, /* renderer_id */ |
| 120 int32, /* render_view_id */ |
| 121 gfx::PluginWindowHandle /* compositor_host_id */) |
| 122 |
| 123 IPC_MESSAGE_CONTROL2(GpuHostMsg_ScheduleComposite, |
| 124 int32, /* renderer_id */ |
| 125 int32 /* render_view_id */) |
116 #endif | 126 #endif |
117 | 127 |
118 IPC_END_MESSAGES(GpuHost) | 128 IPC_END_MESSAGES(GpuHost) |
119 | 129 |
120 //------------------------------------------------------------------------------ | 130 //------------------------------------------------------------------------------ |
121 // GPU Channel Messages | 131 // GPU Channel Messages |
122 // These are messages from a renderer process to the GPU process. | 132 // These are messages from a renderer process to the GPU process. |
123 IPC_BEGIN_MESSAGES(GpuChannel) | 133 IPC_BEGIN_MESSAGES(GpuChannel) |
124 | 134 |
125 // Tells the GPU process to create a new command buffer that renders directly | 135 // Tells the GPU process to create a new command buffer that renders directly |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 | 337 |
328 // GpuVideoDecoder report output format change. | 338 // GpuVideoDecoder report output format change. |
329 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, | 339 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, |
330 GpuVideoDecoderFormatChangeParam) | 340 GpuVideoDecoderFormatChangeParam) |
331 | 341 |
332 // GpuVideoDecoder report error. | 342 // GpuVideoDecoder report error. |
333 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, | 343 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, |
334 GpuVideoDecoderErrorInfoParam) | 344 GpuVideoDecoderErrorInfoParam) |
335 | 345 |
336 IPC_END_MESSAGES(GpuVideoDecoderHost) | 346 IPC_END_MESSAGES(GpuVideoDecoderHost) |
OLD | NEW |