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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 #if defined(OS_ANDROID) | 394 #if defined(OS_ANDROID) |
395 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) | 395 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) |
396 #endif | 396 #endif |
397 IPC_STRUCT_TRAITS_END() | 397 IPC_STRUCT_TRAITS_END() |
398 | 398 |
399 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) | 399 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) |
400 IPC_STRUCT_TRAITS_MEMBER(origin) | 400 IPC_STRUCT_TRAITS_MEMBER(origin) |
401 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) | 401 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) |
402 IPC_STRUCT_TRAITS_MEMBER(name) | 402 IPC_STRUCT_TRAITS_MEMBER(name) |
403 IPC_STRUCT_TRAITS_MEMBER(unique_name) | 403 IPC_STRUCT_TRAITS_MEMBER(unique_name) |
| 404 IPC_STRUCT_TRAITS_MEMBER(feature_policy_header) |
404 IPC_STRUCT_TRAITS_MEMBER(accumulated_csp_headers) | 405 IPC_STRUCT_TRAITS_MEMBER(accumulated_csp_headers) |
405 IPC_STRUCT_TRAITS_MEMBER(scope) | 406 IPC_STRUCT_TRAITS_MEMBER(scope) |
406 IPC_STRUCT_TRAITS_MEMBER(insecure_request_policy) | 407 IPC_STRUCT_TRAITS_MEMBER(insecure_request_policy) |
407 IPC_STRUCT_TRAITS_MEMBER(has_potentially_trustworthy_unique_origin) | 408 IPC_STRUCT_TRAITS_MEMBER(has_potentially_trustworthy_unique_origin) |
408 IPC_STRUCT_TRAITS_END() | 409 IPC_STRUCT_TRAITS_END() |
409 | 410 |
410 // Parameters included with an OpenURL request. | 411 // Parameters included with an OpenURL request. |
411 // |is_history_navigation_in_new_child| is true in the case that the browser | 412 // |is_history_navigation_in_new_child| is true in the case that the browser |
412 // process should look for an existing history item for the frame. | 413 // process should look for an existing history item for the frame. |
413 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) | 414 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) |
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 991 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
991 | 992 |
992 // Notifies the browser that this frame has new session history information. | 993 // Notifies the browser that this frame has new session history information. |
993 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) | 994 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) |
994 | 995 |
995 // Sent when the frame changes its window.name. | 996 // Sent when the frame changes its window.name. |
996 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName, | 997 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName, |
997 std::string /* name */, | 998 std::string /* name */, |
998 std::string /* unique_name */) | 999 std::string /* unique_name */) |
999 | 1000 |
| 1001 // Notifies the browser process that a non-empty Feature-Policy HTTP header was |
| 1002 // delivered with the document being loaded into the frame. |
| 1003 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidSetFeaturePolicyHeader, std::string) |
| 1004 |
1000 // Notifies the browser process about a new Content Security Policy that needs | 1005 // Notifies the browser process about a new Content Security Policy that needs |
1001 // to be applies to the frame. This message is sent when a frame commits | 1006 // to be applies to the frame. This message is sent when a frame commits |
1002 // navigation to a new location (reporting accumulated policies from HTTP | 1007 // navigation to a new location (reporting accumulated policies from HTTP |
1003 // headers and/or policies that might have been inherited from the parent frame) | 1008 // headers and/or policies that might have been inherited from the parent frame) |
1004 // or when a new policy has been discovered afterwards (i.e. found in a | 1009 // or when a new policy has been discovered afterwards (i.e. found in a |
1005 // dynamically added or a static <meta> element). | 1010 // dynamically added or a static <meta> element). |
1006 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy, | 1011 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy, |
1007 content::ContentSecurityPolicyHeader) | 1012 content::ContentSecurityPolicyHeader) |
1008 | 1013 |
1009 // Sent when the frame starts enforcing an insecure request policy. Sending | 1014 // Sent when the frame starts enforcing an insecure request policy. Sending |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1515 // nearest find result in the sending frame. | 1520 // nearest find result in the sending frame. |
1516 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1521 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1517 int /* nfr_request_id */, | 1522 int /* nfr_request_id */, |
1518 float /* distance */) | 1523 float /* distance */) |
1519 #endif | 1524 #endif |
1520 | 1525 |
1521 // Adding a new message? Stick to the sort order above: first platform | 1526 // Adding a new message? Stick to the sort order above: first platform |
1522 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1527 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1523 // platform independent FrameHostMsg, then ifdefs for platform specific | 1528 // platform independent FrameHostMsg, then ifdefs for platform specific |
1524 // FrameHostMsg. | 1529 // FrameHostMsg. |
OLD | NEW |