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