| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 // A renderer sends this to the browser process when it wants to | 1017 // A renderer sends this to the browser process when it wants to |
| 1018 // create a plugin. The browser will create the plugin process if | 1018 // create a plugin. The browser will create the plugin process if |
| 1019 // necessary, and will return a handle to the channel on success. | 1019 // necessary, and will return a handle to the channel on success. |
| 1020 // On error an empty string is returned. | 1020 // On error an empty string is returned. |
| 1021 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, | 1021 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, |
| 1022 GURL /* url */, | 1022 GURL /* url */, |
| 1023 std::string /* mime_type */, | 1023 std::string /* mime_type */, |
| 1024 std::string /* clsid */, | 1024 std::string /* clsid */, |
| 1025 std::wstring /* locale */, | 1025 std::wstring /* locale */, |
| 1026 IPC::ChannelHandle /* handle to channel */, | 1026 IPC::ChannelHandle /* handle to channel */, |
| 1027 FilePath /* plugin_path */) | 1027 WebPluginInfo /* info */) |
| 1028 | 1028 |
| 1029 #if defined(OS_LINUX) | 1029 #if defined(OS_LINUX) |
| 1030 // A renderer sends this when it needs a browser-side widget for | 1030 // A renderer sends this when it needs a browser-side widget for |
| 1031 // hosting a windowed plugin. id is the XID of the plugin window, for which | 1031 // hosting a windowed plugin. id is the XID of the plugin window, for which |
| 1032 // the container is created. | 1032 // the container is created. |
| 1033 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer, | 1033 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer, |
| 1034 gfx::PluginWindowHandle /* id */) | 1034 gfx::PluginWindowHandle /* id */) |
| 1035 | 1035 |
| 1036 // Destroy a plugin container previously created using CreatePluginContainer. | 1036 // Destroy a plugin container previously created using CreatePluginContainer. |
| 1037 // id is the XID of the plugin window corresponding to the container that is | 1037 // id is the XID of the plugin window corresponding to the container that is |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1692 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1692 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
| 1693 FilePath /* the name of the file */, | 1693 FilePath /* the name of the file */, |
| 1694 int32 /* a unique message ID */) | 1694 int32 /* a unique message ID */) |
| 1695 | 1695 |
| 1696 // Asks the browser process to return the size of a DB file | 1696 // Asks the browser process to return the size of a DB file |
| 1697 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1697 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
| 1698 FilePath /* the name of the file */, | 1698 FilePath /* the name of the file */, |
| 1699 int32 /* a unique message ID */) | 1699 int32 /* a unique message ID */) |
| 1700 | 1700 |
| 1701 IPC_END_MESSAGES(ViewHost) | 1701 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |