Chromium Code Reviews| 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 568 content::RequestNavigationParams /* request_params */) | 568 content::RequestNavigationParams /* request_params */) |
| 569 | 569 |
| 570 // PlzNavigate | 570 // PlzNavigate |
| 571 // Tells the renderer that a navigation failed with the error code |error_code| | 571 // Tells the renderer that a navigation failed with the error code |error_code| |
| 572 // and that the renderer should display an appropriate error page. | 572 // and that the renderer should display an appropriate error page. |
| 573 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, | 573 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, |
| 574 content::CommonNavigationParams, /* common_params */ | 574 content::CommonNavigationParams, /* common_params */ |
| 575 content::RequestNavigationParams, /* request_params */ | 575 content::RequestNavigationParams, /* request_params */ |
| 576 bool, /* stale_copy_in_cache */ | 576 bool, /* stale_copy_in_cache */ |
| 577 int /* error_code */) | 577 int /* error_code */) |
| 578 // Replace this frame with a RenderFrameProxy whose routing ID is | |
|
Charlie Reis
2015/04/30 23:06:47
nit: Blank line before.
lazyboy
2015/05/05 07:28:15
Done.
| |
| 579 // |proxy_routing_id|. | |
| 580 // The proxy is for a frame in guest that lives in embedder process. | |
|
Charlie Reis
2015/04/30 23:06:47
nit: Move to previous line.
Also rephrase:
The pro
lazyboy
2015/05/05 07:28:15
Done.
| |
| 581 IPC_MESSAGE_ROUTED1(FrameMsg_ReplaceLocalFrameWithProxy, | |
|
Charlie Reis
2015/04/30 23:06:47
This should probably be listed next to SwapOut.
lazyboy
2015/05/05 07:28:15
Done.
| |
| 582 int32 /* proxy_routing_id */) | |
| 578 | 583 |
| 579 #if defined(ENABLE_PLUGINS) | 584 #if defined(ENABLE_PLUGINS) |
| 580 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. | 585 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. |
| 581 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, | 586 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, |
| 582 std::set<GURL> /* origin_whitelist */) | 587 std::set<GURL> /* origin_whitelist */) |
| 583 #endif // defined(ENABLE_PLUGINS) | 588 #endif // defined(ENABLE_PLUGINS) |
| 584 | 589 |
| 585 // ----------------------------------------------------------------------------- | 590 // ----------------------------------------------------------------------------- |
| 586 // Messages sent from the renderer to the browser. | 591 // Messages sent from the renderer to the browser. |
| 587 | 592 |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 902 FrameMsg_PostMessage_Params) | 907 FrameMsg_PostMessage_Params) |
| 903 | 908 |
| 904 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 909 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 905 | 910 |
| 906 // Message to show/hide a popup menu using native controls. | 911 // Message to show/hide a popup menu using native controls. |
| 907 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 912 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 908 FrameHostMsg_ShowPopup_Params) | 913 FrameHostMsg_ShowPopup_Params) |
| 909 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 914 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 910 | 915 |
| 911 #endif | 916 #endif |
| OLD | NEW |