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 "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 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1217 // Sent to the browser from a frame proxy to post a message to the frame's | 1217 // Sent to the browser from a frame proxy to post a message to the frame's |
1218 // active renderer. | 1218 // active renderer. |
1219 IPC_MESSAGE_ROUTED1(FrameHostMsg_RouteMessageEvent, | 1219 IPC_MESSAGE_ROUTED1(FrameHostMsg_RouteMessageEvent, |
1220 FrameMsg_PostMessage_Params) | 1220 FrameMsg_PostMessage_Params) |
1221 | 1221 |
1222 // Sent when the renderer displays insecure content in a secure origin. | 1222 // Sent when the renderer displays insecure content in a secure origin. |
1223 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisplayInsecureContent) | 1223 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisplayInsecureContent) |
1224 | 1224 |
1225 // Sent when the renderer runs insecure content in a secure origin. | 1225 // Sent when the renderer runs insecure content in a secure origin. |
1226 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidRunInsecureContent, | 1226 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidRunInsecureContent, |
1227 GURL /* security_origin */, | 1227 std::string /* security_origin */, |
1228 GURL /* target URL */) | 1228 GURL /* target URL */) |
1229 | 1229 |
1230 // Sent when the renderer displays content that was loaded with | |
1231 // certificate errors. | |
1232 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidDisplayContentWithCertificateErrors, | |
1233 GURL /* resource url */, | |
1234 std::string /* serialized security info */) | |
1235 | |
1236 // Sent when the renderer runs content that was loaded with certificate | |
1237 // errors. | |
1238 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidRunContentWithCertificateErrors, | |
1239 GURL /* security_origin */, | |
1240 GURL /* resource url */, | |
1241 std::string /* serialized security info */) | |
1242 | |
1243 // Response to FrameMsg_GetSavableResourceLinks. | 1230 // Response to FrameMsg_GetSavableResourceLinks. |
1244 IPC_MESSAGE_ROUTED3(FrameHostMsg_SavableResourceLinksResponse, | 1231 IPC_MESSAGE_ROUTED3(FrameHostMsg_SavableResourceLinksResponse, |
1245 std::vector<GURL> /* savable resource links */, | 1232 std::vector<GURL> /* savable resource links */, |
1246 content::Referrer /* referrer for all the links above */, | 1233 content::Referrer /* referrer for all the links above */, |
1247 std::vector<content::SavableSubframe> /* subframes */) | 1234 std::vector<content::SavableSubframe> /* subframes */) |
1248 | 1235 |
1249 // Response to FrameMsg_GetSavableResourceLinks in case the frame contains | 1236 // Response to FrameMsg_GetSavableResourceLinks in case the frame contains |
1250 // non-savable content (i.e. from a non-savable scheme) or if there were | 1237 // non-savable content (i.e. from a non-savable scheme) or if there were |
1251 // errors gathering the links. | 1238 // errors gathering the links. |
1252 IPC_MESSAGE_ROUTED0(FrameHostMsg_SavableResourceLinksError) | 1239 IPC_MESSAGE_ROUTED0(FrameHostMsg_SavableResourceLinksError) |
(...skipping 22 matching lines...) Expand all Loading... |
1275 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1262 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1276 FrameHostMsg_ShowPopup_Params) | 1263 FrameHostMsg_ShowPopup_Params) |
1277 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1264 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1278 | 1265 |
1279 #endif | 1266 #endif |
1280 | 1267 |
1281 // Adding a new message? Stick to the sort order above: first platform | 1268 // Adding a new message? Stick to the sort order above: first platform |
1282 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1269 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1283 // platform independent FrameHostMsg, then ifdefs for platform specific | 1270 // platform independent FrameHostMsg, then ifdefs for platform specific |
1284 // FrameHostMsg. | 1271 // FrameHostMsg. |
OLD | NEW |