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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // Response to a GpuMsg_CollectGraphicsInfo. | 87 // Response to a GpuMsg_CollectGraphicsInfo. |
88 IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected, | 88 IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected, |
89 GPUInfo /* GPU logging stats */) | 89 GPUInfo /* GPU logging stats */) |
90 | 90 |
91 #if defined(OS_LINUX) | 91 #if defined(OS_LINUX) |
92 // Get the XID for a view ID. | 92 // Get the XID for a view ID. |
93 IPC_SYNC_MESSAGE_CONTROL1_1(GpuHostMsg_GetViewXID, | 93 IPC_SYNC_MESSAGE_CONTROL1_1(GpuHostMsg_GetViewXID, |
94 gfx::NativeViewId, /* view */ | 94 gfx::NativeViewId, /* view */ |
95 unsigned long /* xid */) | 95 unsigned long /* xid */) |
96 | 96 |
| 97 // Release the lock on the window. |
| 98 // If the associated view has been destroyed, destroy the window. |
| 99 IPC_MESSAGE_CONTROL1(GpuHostMsg_ReleaseXID, |
| 100 unsigned long /* xid */) |
| 101 |
97 IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_ResizeXID, | 102 IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_ResizeXID, |
98 unsigned long, /* xid */ | 103 unsigned long, /* xid */ |
99 gfx::Size, /* size */ | 104 gfx::Size, /* size */ |
100 bool /* success */) | 105 bool /* success */) |
101 | 106 |
102 #elif defined(OS_MACOSX) | 107 #elif defined(OS_MACOSX) |
103 // This message, used on Mac OS X 10.6 and later (where IOSurface is | 108 // This message, used on Mac OS X 10.6 and later (where IOSurface is |
104 // supported), is sent from the GPU process to the browser to indicate that a | 109 // supported), is sent from the GPU process to the browser to indicate that a |
105 // new backing store was allocated for the given "window" (fake | 110 // new backing store was allocated for the given "window" (fake |
106 // PluginWindowHandle). The renderer ID and render view ID are needed in | 111 // PluginWindowHandle). The renderer ID and render view ID are needed in |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 | 342 |
338 // GpuVideoDecoder report output format change. | 343 // GpuVideoDecoder report output format change. |
339 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, | 344 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, |
340 GpuVideoDecoderFormatChangeParam) | 345 GpuVideoDecoderFormatChangeParam) |
341 | 346 |
342 // GpuVideoDecoder report error. | 347 // GpuVideoDecoder report error. |
343 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, | 348 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, |
344 GpuVideoDecoderErrorInfoParam) | 349 GpuVideoDecoderErrorInfoParam) |
345 | 350 |
346 IPC_END_MESSAGES(GpuVideoDecoderHost) | 351 IPC_END_MESSAGES(GpuVideoDecoderHost) |
OLD | NEW |