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

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

Issue 1425013004: Single referrer for all savable resources from a given frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 1 month 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/renderer/render_frame_impl.cc » ('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 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after
1171 1171
1172 // Sent when the renderer runs insecure content in a secure origin. 1172 // Sent when the renderer runs insecure content in a secure origin.
1173 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidRunInsecureContent, 1173 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidRunInsecureContent,
1174 std::string /* security_origin */, 1174 std::string /* security_origin */,
1175 GURL /* target URL */) 1175 GURL /* target URL */)
1176 1176
1177 // Response to FrameMsg_GetSavableResourceLinks. 1177 // Response to FrameMsg_GetSavableResourceLinks.
1178 IPC_MESSAGE_ROUTED3(FrameHostMsg_SavableResourceLinksResponse, 1178 IPC_MESSAGE_ROUTED3(FrameHostMsg_SavableResourceLinksResponse,
1179 GURL /* frame URL */, 1179 GURL /* frame URL */,
1180 std::vector<GURL> /* savable resource links */, 1180 std::vector<GURL> /* savable resource links */,
1181 std::vector<content::Referrer> /* referrers */) 1181 content::Referrer /* referrer for all the links above */)
1182 1182
1183 // Response to FrameMsg_GetSavableResourceLinks in case the frame contains 1183 // Response to FrameMsg_GetSavableResourceLinks in case the frame contains
1184 // non-savable content (i.e. from a non-savable scheme) or if there were 1184 // non-savable content (i.e. from a non-savable scheme) or if there were
1185 // errors gathering the links. 1185 // errors gathering the links.
1186 IPC_MESSAGE_ROUTED0(FrameHostMsg_SavableResourceLinksError) 1186 IPC_MESSAGE_ROUTED0(FrameHostMsg_SavableResourceLinksError)
1187 1187
1188 // Response to FrameMsg_GetSerializedHtmlWithLocalLinks. 1188 // Response to FrameMsg_GetSerializedHtmlWithLocalLinks.
1189 IPC_MESSAGE_ROUTED3(FrameHostMsg_SerializedHtmlWithLocalLinksResponse, 1189 IPC_MESSAGE_ROUTED3(FrameHostMsg_SerializedHtmlWithLocalLinksResponse,
1190 GURL /* frame URL */, 1190 GURL /* frame URL */,
1191 std::string /* data buffer */, 1191 std::string /* data buffer */,
1192 bool /* end of data? */) 1192 bool /* end of data? */)
1193 1193
1194 // Sent when the renderer updates hint for importance of a tab. 1194 // Sent when the renderer updates hint for importance of a tab.
1195 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdatePageImportanceSignals, 1195 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdatePageImportanceSignals,
1196 content::PageImportanceSignals) 1196 content::PageImportanceSignals)
1197 1197
1198 #if defined(OS_MACOSX) || defined(OS_ANDROID) 1198 #if defined(OS_MACOSX) || defined(OS_ANDROID)
1199 1199
1200 // Message to show/hide a popup menu using native controls. 1200 // Message to show/hide a popup menu using native controls.
1201 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1201 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1202 FrameHostMsg_ShowPopup_Params) 1202 FrameHostMsg_ShowPopup_Params)
1203 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1203 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1204 1204
1205 #endif 1205 #endif
1206 1206
1207 // Adding a new message? Stick to the sort order above: first platform 1207 // Adding a new message? Stick to the sort order above: first platform
1208 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1208 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1209 // platform independent FrameHostMsg, then ifdefs for platform specific 1209 // platform independent FrameHostMsg, then ifdefs for platform specific
1210 // FrameHostMsg. 1210 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/download/save_package.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698