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_message_enums.h" | 10 #include "content/common/frame_message_enums.h" |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 | 350 |
351 // Sent when the renderer starts loading the page. This corresponds to | 351 // Sent when the renderer starts loading the page. This corresponds to |
352 // Blink's notion of the throbber starting. Note that sometimes you may get | 352 // Blink's notion of the throbber starting. Note that sometimes you may get |
353 // duplicates of these during a single load. | 353 // duplicates of these during a single load. |
354 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStartLoading) | 354 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStartLoading) |
355 | 355 |
356 // Sent when the renderer is done loading a page. This corresponds to Blink's | 356 // Sent when the renderer is done loading a page. This corresponds to Blink's |
357 // notion of the throbber stopping. | 357 // notion of the throbber stopping. |
358 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 358 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
359 | 359 |
| 360 // Following message is used to communicate the values received by the |
| 361 // callback binding the JS to Cpp. |
| 362 // An instance of browser that has an automation host listening to it can |
| 363 // have a javascript send a native value (string, number, boolean) to the |
| 364 // listener in Cpp. (DomAutomationController) |
| 365 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse, |
| 366 std::string /* json_string */, |
| 367 int /* automation_id */) |
| 368 |
360 // Sent to the browser when the renderer detects it is blocked on a pepper | 369 // Sent to the browser when the renderer detects it is blocked on a pepper |
361 // plugin message for too long. This is also sent when it becomes unhung | 370 // plugin message for too long. This is also sent when it becomes unhung |
362 // (according to the value of is_hung). The browser can give the user the | 371 // (according to the value of is_hung). The browser can give the user the |
363 // option of killing the plugin. | 372 // option of killing the plugin. |
364 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, | 373 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, |
365 int /* plugin_child_id */, | 374 int /* plugin_child_id */, |
366 base::FilePath /* path */, | 375 base::FilePath /* path */, |
367 bool /* is_hung */) | 376 bool /* is_hung */) |
368 | 377 |
369 // Sent by the renderer process to indicate that a plugin instance has crashed. | 378 // 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... |
429 // Instructs the frame to swap out for a cross-site transition, including | 438 // Instructs the frame to swap out for a cross-site transition, including |
430 // running the unload event handler. Expects a SwapOut_ACK message when | 439 // running the unload event handler. Expects a SwapOut_ACK message when |
431 // finished. | 440 // finished. |
432 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) | 441 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) |
433 | 442 |
434 // Used to tell the parent that the user right clicked on an area of the | 443 // Used to tell the parent that the user right clicked on an area of the |
435 // content area, and a context menu should be shown for it. The params | 444 // content area, and a context menu should be shown for it. The params |
436 // object contains information about the node(s) that were selected when the | 445 // object contains information about the node(s) that were selected when the |
437 // user right clicked. | 446 // user right clicked. |
438 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 447 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
OLD | NEW |