OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 // object contains information about the node(s) that were selected when the | 825 // object contains information about the node(s) that were selected when the |
826 // user right clicked. | 826 // user right clicked. |
827 IPC_MESSAGE_ROUTED1(ViewHostMsg_ContextMenu, ContextMenuParams) | 827 IPC_MESSAGE_ROUTED1(ViewHostMsg_ContextMenu, ContextMenuParams) |
828 | 828 |
829 // Request that the given URL be opened in the specified manner. | 829 // Request that the given URL be opened in the specified manner. |
830 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenURL, | 830 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenURL, |
831 GURL /* url */, | 831 GURL /* url */, |
832 GURL /* referrer */, | 832 GURL /* referrer */, |
833 WindowOpenDisposition /* disposition */) | 833 WindowOpenDisposition /* disposition */) |
834 | 834 |
| 835 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredWidthChange, |
| 836 int /* pref_width */) |
| 837 |
835 // Following message is used to communicate the values received by the | 838 // Following message is used to communicate the values received by the |
836 // callback binding the JS to Cpp. | 839 // callback binding the JS to Cpp. |
837 // An instance of browser that has an automation host listening to it can | 840 // An instance of browser that has an automation host listening to it can |
838 // have a javascript send a native value (string, number, boolean) to the | 841 // have a javascript send a native value (string, number, boolean) to the |
839 // listener in Cpp. (DomAutomationController) | 842 // listener in Cpp. (DomAutomationController) |
840 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 843 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
841 std::string /* json_string */, | 844 std::string /* json_string */, |
842 int /* automation_id */) | 845 int /* automation_id */) |
843 | 846 |
844 // A message from HTML-based UI. When (trusted) Javascript calls | 847 // A message from HTML-based UI. When (trusted) Javascript calls |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1291 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToExtension, | 1294 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToExtension, |
1292 std::string /* extension_id */, | 1295 std::string /* extension_id */, |
1293 int /* port_id */) | 1296 int /* port_id */) |
1294 | 1297 |
1295 // Send a message to an extension process. The handle is the value returned | 1298 // Send a message to an extension process. The handle is the value returned |
1296 // by ViewHostMsg_OpenChannelToExtension. | 1299 // by ViewHostMsg_OpenChannelToExtension. |
1297 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage, | 1300 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage, |
1298 int /* port_id */, | 1301 int /* port_id */, |
1299 std::string /* message */) | 1302 std::string /* message */) |
1300 IPC_END_MESSAGES(ViewHost) | 1303 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |