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 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 // Sent to the browser from a frame proxy to post a message to the frame's | 1202 // Sent to the browser from a frame proxy to post a message to the frame's |
1203 // active renderer. | 1203 // active renderer. |
1204 IPC_MESSAGE_ROUTED1(FrameHostMsg_RouteMessageEvent, | 1204 IPC_MESSAGE_ROUTED1(FrameHostMsg_RouteMessageEvent, |
1205 FrameMsg_PostMessage_Params) | 1205 FrameMsg_PostMessage_Params) |
1206 | 1206 |
1207 // Sent when the renderer displays insecure content in a secure origin. | 1207 // Sent when the renderer displays insecure content in a secure origin. |
1208 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisplayInsecureContent) | 1208 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisplayInsecureContent) |
1209 | 1209 |
1210 // Sent when the renderer runs insecure content in a secure origin. | 1210 // Sent when the renderer runs insecure content in a secure origin. |
1211 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidRunInsecureContent, | 1211 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidRunInsecureContent, |
1212 std::string /* security_origin */, | 1212 GURL /* security_origin */, |
1213 GURL /* target URL */) | 1213 GURL /* target URL */) |
1214 | 1214 |
| 1215 // Sent when the renderer displays content that was loaded with |
| 1216 // certificate errors. |
| 1217 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidDisplayContentWithCertificateErrors, |
| 1218 GURL /* resource url */, |
| 1219 std::string /* serialized security info */) |
| 1220 |
| 1221 // Sent when the renderer runs content that was loaded with certificate |
| 1222 // errors. |
| 1223 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidRunContentWithCertificateErrors, |
| 1224 GURL /* security_origin */, |
| 1225 GURL /* resource url */, |
| 1226 std::string /* serialized security info */) |
| 1227 |
1215 // Response to FrameMsg_GetSavableResourceLinks. | 1228 // Response to FrameMsg_GetSavableResourceLinks. |
1216 IPC_MESSAGE_ROUTED3(FrameHostMsg_SavableResourceLinksResponse, | 1229 IPC_MESSAGE_ROUTED3(FrameHostMsg_SavableResourceLinksResponse, |
1217 std::vector<GURL> /* savable resource links */, | 1230 std::vector<GURL> /* savable resource links */, |
1218 content::Referrer /* referrer for all the links above */, | 1231 content::Referrer /* referrer for all the links above */, |
1219 std::vector<content::SavableSubframe> /* subframes */) | 1232 std::vector<content::SavableSubframe> /* subframes */) |
1220 | 1233 |
1221 // Response to FrameMsg_GetSavableResourceLinks in case the frame contains | 1234 // Response to FrameMsg_GetSavableResourceLinks in case the frame contains |
1222 // non-savable content (i.e. from a non-savable scheme) or if there were | 1235 // non-savable content (i.e. from a non-savable scheme) or if there were |
1223 // errors gathering the links. | 1236 // errors gathering the links. |
1224 IPC_MESSAGE_ROUTED0(FrameHostMsg_SavableResourceLinksError) | 1237 IPC_MESSAGE_ROUTED0(FrameHostMsg_SavableResourceLinksError) |
(...skipping 13 matching lines...) Expand all Loading... |
1238 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1251 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1239 FrameHostMsg_ShowPopup_Params) | 1252 FrameHostMsg_ShowPopup_Params) |
1240 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1253 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1241 | 1254 |
1242 #endif | 1255 #endif |
1243 | 1256 |
1244 // Adding a new message? Stick to the sort order above: first platform | 1257 // Adding a new message? Stick to the sort order above: first platform |
1245 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1258 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1246 // platform independent FrameHostMsg, then ifdefs for platform specific | 1259 // platform independent FrameHostMsg, then ifdefs for platform specific |
1247 // FrameHostMsg. | 1260 // FrameHostMsg. |
OLD | NEW |