| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 interacting with frames. | 5 // IPC messages for interacting with frames. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
| 10 #include "content/common/frame_param.h" | 10 #include "content/common/frame_param.h" |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishDocumentLoad, | 168 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishDocumentLoad, |
| 169 int64 /* frame_id */) | 169 int64 /* frame_id */) |
| 170 | 170 |
| 171 IPC_MESSAGE_ROUTED5(FrameHostMsg_DidFailLoadWithError, | 171 IPC_MESSAGE_ROUTED5(FrameHostMsg_DidFailLoadWithError, |
| 172 int64 /* frame_id */, | 172 int64 /* frame_id */, |
| 173 GURL /* validated_url */, | 173 GURL /* validated_url */, |
| 174 bool /* is_main_frame */, | 174 bool /* is_main_frame */, |
| 175 int /* error_code */, | 175 int /* error_code */, |
| 176 base::string16 /* error_description */) | 176 base::string16 /* error_description */) |
| 177 | 177 |
| 178 // Following message is used to communicate the values received by the |
| 179 // callback binding the JS to Cpp. |
| 180 // An instance of browser that has an automation host listening to it can |
| 181 // have a javascript send a native value (string, number, boolean) to the |
| 182 // listener in Cpp. (DomAutomationController) |
| 183 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse, |
| 184 std::string /* json_string */, |
| 185 int /* automation_id */) |
| 186 |
| 178 // Sent to the browser when the renderer detects it is blocked on a pepper | 187 // Sent to the browser when the renderer detects it is blocked on a pepper |
| 179 // plugin message for too long. This is also sent when it becomes unhung | 188 // plugin message for too long. This is also sent when it becomes unhung |
| 180 // (according to the value of is_hung). The browser can give the user the | 189 // (according to the value of is_hung). The browser can give the user the |
| 181 // option of killing the plugin. | 190 // option of killing the plugin. |
| 182 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, | 191 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, |
| 183 int /* plugin_child_id */, | 192 int /* plugin_child_id */, |
| 184 base::FilePath /* path */, | 193 base::FilePath /* path */, |
| 185 bool /* is_hung */) | 194 bool /* is_hung */) |
| 186 | 195 |
| 187 // Sent by the renderer process to indicate that a plugin instance has crashed. | 196 // Sent by the renderer process to indicate that a plugin instance has crashed. |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 // Instructs the frame to swap out for a cross-site transition, including | 256 // Instructs the frame to swap out for a cross-site transition, including |
| 248 // running the unload event handler. Expects a SwapOut_ACK message when | 257 // running the unload event handler. Expects a SwapOut_ACK message when |
| 249 // finished. | 258 // finished. |
| 250 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) | 259 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) |
| 251 | 260 |
| 252 // Used to tell the parent that the user right clicked on an area of the | 261 // Used to tell the parent that the user right clicked on an area of the |
| 253 // content area, and a context menu should be shown for it. The params | 262 // content area, and a context menu should be shown for it. The params |
| 254 // object contains information about the node(s) that were selected when the | 263 // object contains information about the node(s) that were selected when the |
| 255 // user right clicked. | 264 // user right clicked. |
| 256 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 265 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
| OLD | NEW |