| 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. | 6 // header guard. |
| 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 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1580 // create a plugin. The browser will create the plugin process if | 1580 // create a plugin. The browser will create the plugin process if |
| 1581 // necessary, and will return a handle to the channel on success. | 1581 // necessary, and will return a handle to the channel on success. |
| 1582 // On error an empty string is returned. | 1582 // On error an empty string is returned. |
| 1583 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_OpenChannelToPlugin, | 1583 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_OpenChannelToPlugin, |
| 1584 GURL /* url */, | 1584 GURL /* url */, |
| 1585 std::string /* mime_type */, | 1585 std::string /* mime_type */, |
| 1586 IPC::ChannelHandle /* handle to channel */, | 1586 IPC::ChannelHandle /* handle to channel */, |
| 1587 WebPluginInfo /* info */) | 1587 WebPluginInfo /* info */) |
| 1588 | 1588 |
| 1589 // A renderer sends this to the browser process when it wants to | 1589 // A renderer sends this to the browser process when it wants to |
| 1590 // create a pepper plugin. The browser will create the plugin process if |
| 1591 // necessary, and will return a handle to the channel on success. |
| 1592 // On error an empty string is returned. |
| 1593 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToPepperPlugin, |
| 1594 FilePath /* path */, |
| 1595 IPC::ChannelHandle /* handle to channel */) |
| 1596 |
| 1597 // A renderer sends this to the browser process when it wants to |
| 1590 // create connect to the GPU. The browser will create the GPU process if | 1598 // create connect to the GPU. The browser will create the GPU process if |
| 1591 // necessary, and will return a handle to the channel via | 1599 // necessary, and will return a handle to the channel via |
| 1592 // a GpuChannelEstablished message. | 1600 // a GpuChannelEstablished message. |
| 1593 IPC_MESSAGE_CONTROL0(ViewHostMsg_EstablishGpuChannel) | 1601 IPC_MESSAGE_CONTROL0(ViewHostMsg_EstablishGpuChannel) |
| 1594 | 1602 |
| 1595 // A renderer sends this to the browser process to provide a synchronization | 1603 // A renderer sends this to the browser process to provide a synchronization |
| 1596 // point for GPU operations, in particular to make sure the GPU channel has | 1604 // point for GPU operations, in particular to make sure the GPU channel has |
| 1597 // been established. | 1605 // been established. |
| 1598 IPC_SYNC_MESSAGE_CONTROL0_0(ViewHostMsg_SynchronizeGpu) | 1606 IPC_SYNC_MESSAGE_CONTROL0_0(ViewHostMsg_SynchronizeGpu) |
| 1599 | 1607 |
| (...skipping 1475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3075 base::PlatformFileInfo, /* info */ | 3083 base::PlatformFileInfo, /* info */ |
| 3076 base::PlatformFileError /* error_code */) | 3084 base::PlatformFileError /* error_code */) |
| 3077 | 3085 |
| 3078 // Get the directory's contents. | 3086 // Get the directory's contents. |
| 3079 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3087 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
| 3080 FilePath /* path */, | 3088 FilePath /* path */, |
| 3081 PepperDirContents, /* contents */ | 3089 PepperDirContents, /* contents */ |
| 3082 base::PlatformFileError /* error_code */) | 3090 base::PlatformFileError /* error_code */) |
| 3083 | 3091 |
| 3084 IPC_END_MESSAGES(ViewHost) | 3092 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |