OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1174 // Temporary message to diagnose an unexpected condition in TabContents. | 1174 // Temporary message to diagnose an unexpected condition in TabContents. |
1175 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, | 1175 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, |
1176 GURL /* data */) | 1176 GURL /* data */) |
1177 | 1177 |
1178 | 1178 |
1179 // Messages sent from the renderer to the browser. | 1179 // Messages sent from the renderer to the browser. |
1180 | 1180 |
1181 // Sent by the renderer when it is creating a new window. The browser creates | 1181 // Sent by the renderer when it is creating a new window. The browser creates |
1182 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1182 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
1183 // MSG_ROUTING_NONE, the view couldn't be created. | 1183 // MSG_ROUTING_NONE, the view couldn't be created. |
1184 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, | 1184 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, |
1185 ViewHostMsg_CreateWindow_Params, | 1185 ViewHostMsg_CreateWindow_Params, |
1186 int /* route_id */, | 1186 int /* route_id */, |
1187 int32 /* surface_id */, | 1187 int32 /* surface_id */, |
1188 int64 /* cloned_session_storage_namespace_id */) | 1188 int64 /* cloned_session_storage_namespace_id */, |
| 1189 bool /* no_js_access */) |
1189 | 1190 |
1190 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like | 1191 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like |
1191 // <select> dropdowns. This message is sent to the TabContents that | 1192 // <select> dropdowns. This message is sent to the TabContents that |
1192 // contains the widget being created. | 1193 // contains the widget being created. |
1193 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_CreateWidget, | 1194 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_CreateWidget, |
1194 int /* opener_id */, | 1195 int /* opener_id */, |
1195 WebKit::WebPopupType /* popup type */, | 1196 WebKit::WebPopupType /* popup type */, |
1196 int /* route_id */, | 1197 int /* route_id */, |
1197 int32 /* surface_id */) | 1198 int32 /* surface_id */) |
1198 | 1199 |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1989 // have a javascript send a native value (string, number, boolean) to the | 1990 // have a javascript send a native value (string, number, boolean) to the |
1990 // listener in Cpp. (DomAutomationController) | 1991 // listener in Cpp. (DomAutomationController) |
1991 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 1992 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
1992 std::string /* json_string */, | 1993 std::string /* json_string */, |
1993 int /* automation_id */) | 1994 int /* automation_id */) |
1994 | 1995 |
1995 // Enable or disable inverting of web content pixels, for users who prefer | 1996 // Enable or disable inverting of web content pixels, for users who prefer |
1996 // white-on-black. | 1997 // white-on-black. |
1997 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, | 1998 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, |
1998 bool /* invert */) | 1999 bool /* invert */) |
OLD | NEW |