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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 539 // PlzNavigate | 539 // PlzNavigate |
| 540 // Tells the renderer that a navigation is ready to commit. The renderer should | 540 // Tells the renderer that a navigation is ready to commit. The renderer should |
| 541 // request |stream_url| to get access to the stream containing the body of the | 541 // request |stream_url| to get access to the stream containing the body of the |
| 542 // response. | 542 // response. |
| 543 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, | 543 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, |
| 544 content::ResourceResponseHead, /* response */ | 544 content::ResourceResponseHead, /* response */ |
| 545 GURL, /* stream_url */ | 545 GURL, /* stream_url */ |
| 546 content::CommonNavigationParams, /* common_params */ | 546 content::CommonNavigationParams, /* common_params */ |
| 547 content::CommitNavigationParams /* commit_params */) | 547 content::CommitNavigationParams /* commit_params */) |
| 548 | 548 |
| 549 // Replace this frame with a RenderFrameProxy whose routing ID is | |
|
Charlie Reis
2015/03/10 04:09:45
Isn't this essentially what swap does?
lazyboy
2015/04/01 21:47:58
More or less, it does subset of swap.
Swap disconn
| |
| 550 // |proxy_routing_id|. | |
| 551 IPC_MESSAGE_ROUTED1(FrameMsg_ReplaceLocalFrameWithProxy, | |
| 552 int32 /* proxy_routing_id */) | |
| 553 | |
| 549 #if defined(ENABLE_PLUGINS) | 554 #if defined(ENABLE_PLUGINS) |
| 550 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. | 555 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. |
| 551 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, | 556 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, |
| 552 std::set<GURL> /* origin_whitelist */) | 557 std::set<GURL> /* origin_whitelist */) |
| 553 #endif // defined(ENABLE_PLUGINS) | 558 #endif // defined(ENABLE_PLUGINS) |
| 554 | 559 |
| 555 // ----------------------------------------------------------------------------- | 560 // ----------------------------------------------------------------------------- |
| 556 // Messages sent from the renderer to the browser. | 561 // Messages sent from the renderer to the browser. |
| 557 | 562 |
| 558 // Blink and JavaScript error messages to log to the console | 563 // Blink and JavaScript error messages to log to the console |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 862 bool /* present */) | 867 bool /* present */) |
| 863 | 868 |
| 864 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 869 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 865 | 870 |
| 866 // Message to show/hide a popup menu using native controls. | 871 // Message to show/hide a popup menu using native controls. |
| 867 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 872 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 868 FrameHostMsg_ShowPopup_Params) | 873 FrameHostMsg_ShowPopup_Params) |
| 869 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 874 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 870 | 875 |
| 871 #endif | 876 #endif |
| OLD | NEW |