Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2073)

Side by Side Diff: content/common/frame_messages.h

Issue 1308113008: OOPIFs: Transitioning Get/Send...SavableResourceLinks away from RenderViewHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page-serialization-test
Patch Set: Fixed savable_resources_browsertest.cc to use RenderFrame rather than RenderView. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/download/save_package.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "cc/surfaces/surface_id.h" 8 #include "cc/surfaces/surface_id.h"
9 #include "cc/surfaces/surface_sequence.h" 9 #include "cc/surfaces/surface_sequence.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 659
660 // PlzNavigate 660 // PlzNavigate
661 // Tells the renderer that a navigation failed with the error code |error_code| 661 // Tells the renderer that a navigation failed with the error code |error_code|
662 // and that the renderer should display an appropriate error page. 662 // and that the renderer should display an appropriate error page.
663 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, 663 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation,
664 content::CommonNavigationParams, /* common_params */ 664 content::CommonNavigationParams, /* common_params */
665 content::RequestNavigationParams, /* request_params */ 665 content::RequestNavigationParams, /* request_params */
666 bool, /* stale_copy_in_cache */ 666 bool, /* stale_copy_in_cache */
667 int /* error_code */) 667 int /* error_code */)
668 668
669 // Request to enumerate and return links to all savable resources in the frame
670 // Note: this covers only the immediate frame / doesn't cover subframes.
671 IPC_MESSAGE_ROUTED0(FrameMsg_GetSavableResourceLinks)
672
669 #if defined(ENABLE_PLUGINS) 673 #if defined(ENABLE_PLUGINS)
670 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. 674 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist.
671 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, 675 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist,
672 std::set<url::Origin> /* origin_whitelist */) 676 std::set<url::Origin> /* origin_whitelist */)
673 #endif // defined(ENABLE_PLUGINS) 677 #endif // defined(ENABLE_PLUGINS)
674 678
675 // ----------------------------------------------------------------------------- 679 // -----------------------------------------------------------------------------
676 // Messages sent from the renderer to the browser. 680 // Messages sent from the renderer to the browser.
677 681
678 // Blink and JavaScript error messages to log to the console 682 // Blink and JavaScript error messages to log to the console
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
1145 FrameMsg_PostMessage_Params) 1149 FrameMsg_PostMessage_Params)
1146 1150
1147 // Sent when the renderer displays insecure content in a secure origin. 1151 // Sent when the renderer displays insecure content in a secure origin.
1148 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisplayInsecureContent) 1152 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisplayInsecureContent)
1149 1153
1150 // Sent when the renderer runs insecure content in a secure origin. 1154 // Sent when the renderer runs insecure content in a secure origin.
1151 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidRunInsecureContent, 1155 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidRunInsecureContent,
1152 std::string /* security_origin */, 1156 std::string /* security_origin */,
1153 GURL /* target URL */) 1157 GURL /* target URL */)
1154 1158
1159 // Response to FrameMsg_GetSavableResourceLinks.
1160 IPC_MESSAGE_ROUTED3(FrameHostMsg_SavableResourceLinksResponse,
1161 GURL /* frame URL */,
1162 std::vector<GURL> /* savable resource links */,
1163 std::vector<content::Referrer> /* referrers */)
1164
1165 // Response to FrameMsg_GetSavableResourceLinks in case the frame contains
1166 // non-savable content (i.e. from a non-savable scheme) or if there were
1167 // errors gathering the links.
1168 IPC_MESSAGE_ROUTED0(FrameHostMsg_SavableResourceLinksError)
1169
1155 #if defined(OS_MACOSX) || defined(OS_ANDROID) 1170 #if defined(OS_MACOSX) || defined(OS_ANDROID)
1156 1171
1157 // Message to show/hide a popup menu using native controls. 1172 // Message to show/hide a popup menu using native controls.
1158 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1173 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1159 FrameHostMsg_ShowPopup_Params) 1174 FrameHostMsg_ShowPopup_Params)
1160 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1175 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1161 1176
1162 #endif 1177 #endif
1163 1178
1164 // Adding a new message? Stick to the sort order above: first platform 1179 // Adding a new message? Stick to the sort order above: first platform
1165 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1180 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1166 // platform independent FrameHostMsg, then ifdefs for platform specific 1181 // platform independent FrameHostMsg, then ifdefs for platform specific
1167 // FrameHostMsg. 1182 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/download/save_package.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698