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