| 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 1561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1572 std::string /* origin */, | 1572 std::string /* origin */, |
| 1573 std::string /* target */) | 1573 std::string /* target */) |
| 1574 | 1574 |
| 1575 // A renderer sends this to the browser process when it wants to | 1575 // A renderer sends this to the browser process when it wants to |
| 1576 // create a plugin. The browser will create the plugin process if | 1576 // create a plugin. The browser will create the plugin process if |
| 1577 // necessary, and will return a handle to the channel on success. | 1577 // necessary, and will return a handle to the channel on success. |
| 1578 // On error an empty string is returned. | 1578 // On error an empty string is returned. |
| 1579 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_OpenChannelToPlugin, | 1579 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_OpenChannelToPlugin, |
| 1580 GURL /* url */, | 1580 GURL /* url */, |
| 1581 std::string /* mime_type */, | 1581 std::string /* mime_type */, |
| 1582 IPC::ChannelHandle /* handle to channel */, | 1582 IPC::ChannelHandle /* channel_handle */, |
| 1583 WebPluginInfo /* info */) | 1583 WebPluginInfo /* info */) |
| 1584 | 1584 |
| 1585 // A renderer sends this to the browser process when it wants to | 1585 // A renderer sends this to the browser process when it wants to |
| 1586 // create a pepper plugin. The browser will create the plugin process if | 1586 // create a pepper plugin. The browser will create the plugin process if |
| 1587 // necessary, and will return a handle to the channel on success. | 1587 // necessary, and will return a handle to the channel on success. |
| 1588 // On error an empty string is returned. | 1588 // On error an empty string is returned. |
| 1589 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToPepperPlugin, | 1589 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_OpenChannelToPepperPlugin, |
| 1590 FilePath /* path */, | 1590 FilePath /* path */, |
| 1591 base::ProcessHandle /* plugin_process_handle */, |
| 1591 IPC::ChannelHandle /* handle to channel */) | 1592 IPC::ChannelHandle /* handle to channel */) |
| 1592 | 1593 |
| 1593 // A renderer sends this to the browser process when it wants to | 1594 // A renderer sends this to the browser process when it wants to |
| 1594 // create connect to the GPU. The browser will create the GPU process if | 1595 // create connect to the GPU. The browser will create the GPU process if |
| 1595 // necessary, and will return a handle to the channel via | 1596 // necessary, and will return a handle to the channel via |
| 1596 // a GpuChannelEstablished message. | 1597 // a GpuChannelEstablished message. |
| 1597 IPC_MESSAGE_CONTROL0(ViewHostMsg_EstablishGpuChannel) | 1598 IPC_MESSAGE_CONTROL0(ViewHostMsg_EstablishGpuChannel) |
| 1598 | 1599 |
| 1599 // A renderer sends this to the browser process to provide a synchronization | 1600 // A renderer sends this to the browser process to provide a synchronization |
| 1600 // point for GPU operations, in particular to make sure the GPU channel has | 1601 // point for GPU operations, in particular to make sure the GPU channel has |
| (...skipping 1469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3070 base::PlatformFileInfo, /* info */ | 3071 base::PlatformFileInfo, /* info */ |
| 3071 base::PlatformFileError /* error_code */) | 3072 base::PlatformFileError /* error_code */) |
| 3072 | 3073 |
| 3073 // Get the directory's contents. | 3074 // Get the directory's contents. |
| 3074 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3075 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
| 3075 FilePath /* path */, | 3076 FilePath /* path */, |
| 3076 PepperDirContents, /* contents */ | 3077 PepperDirContents, /* contents */ |
| 3077 base::PlatformFileError /* error_code */) | 3078 base::PlatformFileError /* error_code */) |
| 3078 | 3079 |
| 3079 IPC_END_MESSAGES(ViewHost) | 3080 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |