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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 // necessary, and will return a handle to the channel on success. | 922 // necessary, and will return a handle to the channel on success. |
923 // On error an empty string is returned. | 923 // On error an empty string is returned. |
924 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, | 924 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, |
925 GURL /* url */, | 925 GURL /* url */, |
926 std::string /* mime_type */, | 926 std::string /* mime_type */, |
927 std::string /* clsid */, | 927 std::string /* clsid */, |
928 std::wstring /* locale */, | 928 std::wstring /* locale */, |
929 IPC::ChannelHandle /* handle to channel */, | 929 IPC::ChannelHandle /* handle to channel */, |
930 FilePath /* plugin_path */) | 930 FilePath /* plugin_path */) |
931 | 931 |
| 932 #if defined(OS_LINUX) |
| 933 IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_CreatePluginContainer, |
| 934 gfx::PluginWindowHandle /* container */) |
| 935 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, |
| 936 gfx::PluginWindowHandle /* container */) |
| 937 #endif |
| 938 |
932 // Clipboard IPC messages | 939 // Clipboard IPC messages |
933 | 940 |
934 // This message is used when the object list does not contain a bitmap. | 941 // This message is used when the object list does not contain a bitmap. |
935 IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardWriteObjectsAsync, | 942 IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardWriteObjectsAsync, |
936 Clipboard::ObjectMap /* objects */) | 943 Clipboard::ObjectMap /* objects */) |
937 // This message is used when the object list contains a bitmap. | 944 // This message is used when the object list contains a bitmap. |
938 // It is synchronized so that the renderer knows when it is safe to | 945 // It is synchronized so that the renderer knows when it is safe to |
939 // free the shared memory used to transfer the bitmap. | 946 // free the shared memory used to transfer the bitmap. |
940 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_ClipboardWriteObjectsSync, | 947 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_ClipboardWriteObjectsSync, |
941 Clipboard::ObjectMap /* objects */) | 948 Clipboard::ObjectMap /* objects */) |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1456 // web resource. |error_message| is a user-readable explanation of what | 1463 // web resource. |error_message| is a user-readable explanation of what |
1457 // went wrong. | 1464 // went wrong. |
1458 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, | 1465 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, |
1459 std::string /* error_message, if any */) | 1466 std::string /* error_message, if any */) |
1460 | 1467 |
1461 // Sent by the renderer process to acknowledge receipt of a | 1468 // Sent by the renderer process to acknowledge receipt of a |
1462 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. | 1469 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. |
1463 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) | 1470 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) |
1464 | 1471 |
1465 IPC_END_MESSAGES(ViewHost) | 1472 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |