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