| 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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 // PlzNavigate | 561 // PlzNavigate |
| 562 // Tells the renderer that a navigation is ready to commit. The renderer should | 562 // Tells the renderer that a navigation is ready to commit. The renderer should |
| 563 // request |stream_url| to get access to the stream containing the body of the | 563 // request |stream_url| to get access to the stream containing the body of the |
| 564 // response. | 564 // response. |
| 565 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, | 565 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, |
| 566 content::ResourceResponseHead, /* response */ | 566 content::ResourceResponseHead, /* response */ |
| 567 GURL, /* stream_url */ | 567 GURL, /* stream_url */ |
| 568 content::CommonNavigationParams, /* common_params */ | 568 content::CommonNavigationParams, /* common_params */ |
| 569 content::RequestNavigationParams /* request_params */) | 569 content::RequestNavigationParams /* request_params */) |
| 570 | 570 |
| 571 // PlzNavigate |
| 572 // Tells the renderer that a navigation failed with the error code |error_code| |
| 573 // and that the renderer should display an appropriate error page. |
| 574 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, |
| 575 content::CommonNavigationParams, /* common_params */ |
| 576 content::RequestNavigationParams, /* request_params */ |
| 577 bool, /* stale_copy_in_cache */ |
| 578 int /* error_code */) |
| 579 |
| 571 #if defined(ENABLE_PLUGINS) | 580 #if defined(ENABLE_PLUGINS) |
| 572 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. | 581 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. |
| 573 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, | 582 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, |
| 574 std::set<GURL> /* origin_whitelist */) | 583 std::set<GURL> /* origin_whitelist */) |
| 575 #endif // defined(ENABLE_PLUGINS) | 584 #endif // defined(ENABLE_PLUGINS) |
| 576 | 585 |
| 577 // ----------------------------------------------------------------------------- | 586 // ----------------------------------------------------------------------------- |
| 578 // Messages sent from the renderer to the browser. | 587 // Messages sent from the renderer to the browser. |
| 579 | 588 |
| 580 // Blink and JavaScript error messages to log to the console | 589 // Blink and JavaScript error messages to log to the console |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 FrameMsg_PostMessage_Params) | 903 FrameMsg_PostMessage_Params) |
| 895 | 904 |
| 896 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 905 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 897 | 906 |
| 898 // Message to show/hide a popup menu using native controls. | 907 // Message to show/hide a popup menu using native controls. |
| 899 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 908 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 900 FrameHostMsg_ShowPopup_Params) | 909 FrameHostMsg_ShowPopup_Params) |
| 901 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 910 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 902 | 911 |
| 903 #endif | 912 #endif |
| OLD | NEW |