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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 // Response to a GpuMsg_CollectGraphicsInfo. | 75 // Response to a GpuMsg_CollectGraphicsInfo. |
76 IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected, | 76 IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected, |
77 GPUInfo /* GPU logging stats */) | 77 GPUInfo /* GPU logging stats */) |
78 | 78 |
79 #if defined(OS_LINUX) | 79 #if defined(OS_LINUX) |
80 // Get the XID for a view ID. | 80 // Get the XID for a view ID. |
81 IPC_SYNC_MESSAGE_CONTROL1_1(GpuHostMsg_GetViewXID, | 81 IPC_SYNC_MESSAGE_CONTROL1_1(GpuHostMsg_GetViewXID, |
82 gfx::NativeViewId, /* view */ | 82 gfx::NativeViewId, /* view */ |
83 unsigned long /* xid */) | 83 unsigned long /* xid */) |
| 84 |
| 85 IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_ResizeXID, |
| 86 unsigned long, /* xid */ |
| 87 gfx::Size, /* size */ |
| 88 bool /* success */) |
| 89 |
84 #elif defined(OS_MACOSX) | 90 #elif defined(OS_MACOSX) |
85 // This message, used on Mac OS X 10.6 and later (where IOSurface is | 91 // This message, used on Mac OS X 10.6 and later (where IOSurface is |
86 // supported), is sent from the GPU process to the browser to indicate that a | 92 // supported), is sent from the GPU process to the browser to indicate that a |
87 // new backing store was allocated for the given "window" (fake | 93 // new backing store was allocated for the given "window" (fake |
88 // PluginWindowHandle). The renderer ID and render view ID are needed in | 94 // PluginWindowHandle). The renderer ID and render view ID are needed in |
89 // order to uniquely identify the RenderWidgetHostView on the browser side. | 95 // order to uniquely identify the RenderWidgetHostView on the browser side. |
90 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSetIOSurface, | 96 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSetIOSurface, |
91 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params) | 97 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params) |
92 | 98 |
93 // This message notifies the browser process that the renderer | 99 // This message notifies the browser process that the renderer |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 | 325 |
320 // GpuVideoDecoder report output format change. | 326 // GpuVideoDecoder report output format change. |
321 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, | 327 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, |
322 GpuVideoDecoderFormatChangeParam) | 328 GpuVideoDecoderFormatChangeParam) |
323 | 329 |
324 // GpuVideoDecoder report error. | 330 // GpuVideoDecoder report error. |
325 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, | 331 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, |
326 GpuVideoDecoderErrorInfoParam) | 332 GpuVideoDecoderErrorInfoParam) |
327 | 333 |
328 IPC_END_MESSAGES(GpuVideoDecoderHost) | 334 IPC_END_MESSAGES(GpuVideoDecoderHost) |
OLD | NEW |