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

Unified 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: Addressed CR feedback from Randy. 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 side-by-side diff with in-line comments
Download patch
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 466051339bb59cfda8d0b4c64cded38574444614..78052afe8daeb328a9b23cd5e9ea8997086aa25d 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -652,6 +652,10 @@ IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation,
bool, /* stale_copy_in_cache */
int /* error_code */)
+// Request to enumerate and return links to all savable resources in the frame
+// Note: this covers only the immediate frame / doesn't cover subframes.
+IPC_MESSAGE_ROUTED0(FrameMsg_GetSavableResourceLinks)
+
#if defined(ENABLE_PLUGINS)
// Notifies the renderer of updates to the Plugin Power Saver origin whitelist.
IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist,
@@ -1062,6 +1066,17 @@ IPC_MESSAGE_ROUTED2(FrameHostMsg_DidRunInsecureContent,
std::string /* security_origin */,
GURL /* target URL */)
+// Response to FrameMsg_GetSavableResourceLinks.
+IPC_MESSAGE_ROUTED3(FrameHostMsg_SavableResourceLinksResponse,
+ GURL /* frame URL */,
+ std::vector<GURL> /* savable resource links */,
+ std::vector<content::Referrer> /* referrers */)
+
+// Response to FrameMsg_GetSavableResourceLinks in case the frame contains
+// non-savable content (i.e. from a non-savable scheme) or if there were
+// errors gathering the links.
+IPC_MESSAGE_ROUTED0(FrameHostMsg_SavableResourceLinksError)
+
#if defined(OS_MACOSX) || defined(OS_ANDROID)
// Message to show/hide a popup menu using native controls.

Powered by Google App Engine
This is Rietveld 408576698