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 22 matching lines...) Expand all Loading... |
33 IPC_BEGIN_MESSAGES(Gpu) | 33 IPC_BEGIN_MESSAGES(Gpu) |
34 | 34 |
35 // Tells the GPU process to create a new channel for communication with a | 35 // Tells the GPU process to create a new channel for communication with a |
36 // given renderer. The channel name is returned in a | 36 // given renderer. The channel name is returned in a |
37 // GpuHostMsg_ChannelEstablished message. The renderer ID is passed so that | 37 // GpuHostMsg_ChannelEstablished message. The renderer ID is passed so that |
38 // the GPU process reuses an existing channel to that process if it exists. | 38 // the GPU process reuses an existing channel to that process if it exists. |
39 // This ID is a unique opaque identifier generated by the browser process. | 39 // This ID is a unique opaque identifier generated by the browser process. |
40 IPC_MESSAGE_CONTROL1(GpuMsg_EstablishChannel, | 40 IPC_MESSAGE_CONTROL1(GpuMsg_EstablishChannel, |
41 int /* renderer_id */) | 41 int /* renderer_id */) |
42 | 42 |
| 43 // Tells the GPU process to close the channel identified by IPC channel |
| 44 // handle. If no channel can be identified, do nothing. |
| 45 IPC_MESSAGE_CONTROL1(GpuMsg_CloseChannel, |
| 46 IPC::ChannelHandle /* channel_handle */) |
| 47 |
43 // Provides a synchronization point to guarantee that the processing of | 48 // Provides a synchronization point to guarantee that the processing of |
44 // previous asynchronous messages (i.e., GpuMsg_EstablishChannel) has | 49 // previous asynchronous messages (i.e., GpuMsg_EstablishChannel) has |
45 // completed. (This message can't be synchronous because the | 50 // completed. (This message can't be synchronous because the |
46 // GpuProcessHost uses an IPC::ChannelProxy, which sends all messages | 51 // GpuProcessHost uses an IPC::ChannelProxy, which sends all messages |
47 // asynchronously.) Results in a GpuHostMsg_SynchronizeReply. | 52 // asynchronously.) Results in a GpuHostMsg_SynchronizeReply. |
48 IPC_MESSAGE_CONTROL0(GpuMsg_Synchronize) | 53 IPC_MESSAGE_CONTROL0(GpuMsg_Synchronize) |
49 | 54 |
50 // Tells the GPU process to create a context for collecting graphics card | 55 // Tells the GPU process to create a context for collecting graphics card |
51 // information. | 56 // information. |
52 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) | 57 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 | 347 |
343 // GpuVideoDecoder report output format change. | 348 // GpuVideoDecoder report output format change. |
344 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, | 349 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, |
345 GpuVideoDecoderFormatChangeParam) | 350 GpuVideoDecoderFormatChangeParam) |
346 | 351 |
347 // GpuVideoDecoder report error. | 352 // GpuVideoDecoder report error. |
348 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, | 353 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, |
349 GpuVideoDecoderErrorInfoParam) | 354 GpuVideoDecoderErrorInfoParam) |
350 | 355 |
351 IPC_END_MESSAGES(GpuVideoDecoderHost) | 356 IPC_END_MESSAGES(GpuVideoDecoderHost) |
OLD | NEW |