| 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 // notion of the throbber stopping. | 422 // notion of the throbber stopping. |
| 423 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 423 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
| 424 | 424 |
| 425 // Requests that the given URL be opened in the specified manner. | 425 // Requests that the given URL be opened in the specified manner. |
| 426 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) | 426 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) |
| 427 | 427 |
| 428 // Notifies the browser that a frame finished loading. | 428 // Notifies the browser that a frame finished loading. |
| 429 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, | 429 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, |
| 430 GURL /* validated_url */) | 430 GURL /* validated_url */) |
| 431 | 431 |
| 432 // Notifies that the initial empty document of a view has been accessed. |
| 433 // After this, it is no longer safe to show a pending navigation's URL without |
| 434 // making a URL spoof possible. |
| 435 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidAccessInitialDocument) |
| 436 |
| 432 // Following message is used to communicate the values received by the | 437 // Following message is used to communicate the values received by the |
| 433 // callback binding the JS to Cpp. | 438 // callback binding the JS to Cpp. |
| 434 // An instance of browser that has an automation host listening to it can | 439 // An instance of browser that has an automation host listening to it can |
| 435 // have a javascript send a native value (string, number, boolean) to the | 440 // have a javascript send a native value (string, number, boolean) to the |
| 436 // listener in Cpp. (DomAutomationController) | 441 // listener in Cpp. (DomAutomationController) |
| 437 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse, | 442 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse, |
| 438 std::string /* json_string */, | 443 std::string /* json_string */, |
| 439 int /* automation_id */) | 444 int /* automation_id */) |
| 440 | 445 |
| 441 // Sent to the browser when the renderer detects it is blocked on a pepper | 446 // Sent to the browser when the renderer detects it is blocked on a pepper |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 SkColor /* color */, | 566 SkColor /* color */, |
| 562 std::vector<content::ColorSuggestion> /* suggestions */) | 567 std::vector<content::ColorSuggestion> /* suggestions */) |
| 563 | 568 |
| 564 // Asks the browser to end the color chooser. | 569 // Asks the browser to end the color chooser. |
| 565 IPC_MESSAGE_ROUTED1(FrameHostMsg_EndColorChooser, int /* id */) | 570 IPC_MESSAGE_ROUTED1(FrameHostMsg_EndColorChooser, int /* id */) |
| 566 | 571 |
| 567 // Change the selected color in the color chooser. | 572 // Change the selected color in the color chooser. |
| 568 IPC_MESSAGE_ROUTED2(FrameHostMsg_SetSelectedColorInColorChooser, | 573 IPC_MESSAGE_ROUTED2(FrameHostMsg_SetSelectedColorInColorChooser, |
| 569 int /* id */, | 574 int /* id */, |
| 570 SkColor /* color */) | 575 SkColor /* color */) |
| OLD | NEW |