| 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 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 971 | 971 |
| 972 | 972 |
| 973 //----------------------------------------------------------------------------- | 973 //----------------------------------------------------------------------------- |
| 974 // TabContents messages | 974 // TabContents messages |
| 975 // These are messages sent from the renderer to the browser process. | 975 // These are messages sent from the renderer to the browser process. |
| 976 | 976 |
| 977 IPC_BEGIN_MESSAGES(ViewHost) | 977 IPC_BEGIN_MESSAGES(ViewHost) |
| 978 // Sent by the renderer when it is creating a new window. The browser creates | 978 // Sent by the renderer when it is creating a new window. The browser creates |
| 979 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 979 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
| 980 // MSG_ROUTING_NONE, the view couldn't be created. | 980 // MSG_ROUTING_NONE, the view couldn't be created. |
| 981 IPC_SYNC_MESSAGE_CONTROL4_2( | 981 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, |
| 982 ViewHostMsg_CreateWindow, | 982 ViewHostMsg_CreateWindow_Params, |
| 983 int /* opener_id */, | 983 int /* route_id */, |
| 984 bool /* user_gesture */, | 984 int64 /* cloned_session_storage_namespace_id */) |
| 985 WindowContainerType /* window_container_type */, | |
| 986 int64 /* session_storage_namespace_id */, | |
| 987 int /* route_id */, | |
| 988 int64 /* cloned_session_storage_namespace_id */) | |
| 989 | 985 |
| 990 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like | 986 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like |
| 991 // <select> dropdowns. This message is sent to the TabContents that | 987 // <select> dropdowns. This message is sent to the TabContents that |
| 992 // contains the widget being created. | 988 // contains the widget being created. |
| 993 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CreateWidget, | 989 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CreateWidget, |
| 994 int /* opener_id */, | 990 int /* opener_id */, |
| 995 WebKit::WebPopupType /* popup type */, | 991 WebKit::WebPopupType /* popup type */, |
| 996 int /* route_id */) | 992 int /* route_id */) |
| 997 | 993 |
| 998 // These two messages are sent to the parent RenderViewHost to display the | 994 // These two messages are sent to the parent RenderViewHost to display the |
| (...skipping 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2453 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, | 2449 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, |
| 2454 int /* render_view_id */, | 2450 int /* render_view_id */, |
| 2455 int /* bridge_id */) | 2451 int /* bridge_id */) |
| 2456 | 2452 |
| 2457 // Send the tree of accessibility data to the browser, where it's cached | 2453 // Send the tree of accessibility data to the browser, where it's cached |
| 2458 // in order to respond to OS accessibility queries immediately. | 2454 // in order to respond to OS accessibility queries immediately. |
| 2459 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, | 2455 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, |
| 2460 webkit_glue::WebAccessibility) | 2456 webkit_glue::WebAccessibility) |
| 2461 | 2457 |
| 2462 IPC_END_MESSAGES(ViewHost) | 2458 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |