| 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list) | 390 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list) |
| 391 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) | 391 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) |
| 392 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) | 392 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) |
| 393 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) | 393 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) |
| 394 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 394 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
| 395 #if defined(OS_ANDROID) | 395 #if defined(OS_ANDROID) |
| 396 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) | 396 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) |
| 397 #endif | 397 #endif |
| 398 IPC_STRUCT_TRAITS_END() | 398 IPC_STRUCT_TRAITS_END() |
| 399 | 399 |
| 400 IPC_STRUCT_TRAITS_BEGIN(content::FeaturePolicyParsedWhitelist) |
| 401 IPC_STRUCT_TRAITS_MEMBER(feature_name) |
| 402 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins) |
| 403 IPC_STRUCT_TRAITS_MEMBER(origins) |
| 404 IPC_STRUCT_TRAITS_END() |
| 405 |
| 400 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) | 406 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) |
| 401 IPC_STRUCT_TRAITS_MEMBER(origin) | 407 IPC_STRUCT_TRAITS_MEMBER(origin) |
| 402 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) | 408 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) |
| 403 IPC_STRUCT_TRAITS_MEMBER(name) | 409 IPC_STRUCT_TRAITS_MEMBER(name) |
| 404 IPC_STRUCT_TRAITS_MEMBER(unique_name) | 410 IPC_STRUCT_TRAITS_MEMBER(unique_name) |
| 405 IPC_STRUCT_TRAITS_MEMBER(feature_policy_header) | 411 IPC_STRUCT_TRAITS_MEMBER(feature_policy_header) |
| 406 IPC_STRUCT_TRAITS_MEMBER(accumulated_csp_headers) | 412 IPC_STRUCT_TRAITS_MEMBER(accumulated_csp_headers) |
| 407 IPC_STRUCT_TRAITS_MEMBER(scope) | 413 IPC_STRUCT_TRAITS_MEMBER(scope) |
| 408 IPC_STRUCT_TRAITS_MEMBER(insecure_request_policy) | 414 IPC_STRUCT_TRAITS_MEMBER(insecure_request_policy) |
| 409 IPC_STRUCT_TRAITS_MEMBER(has_potentially_trustworthy_unique_origin) | 415 IPC_STRUCT_TRAITS_MEMBER(has_potentially_trustworthy_unique_origin) |
| (...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 // Notifies the browser that this frame has new session history information. | 1000 // Notifies the browser that this frame has new session history information. |
| 995 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) | 1001 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) |
| 996 | 1002 |
| 997 // Sent when the frame changes its window.name. | 1003 // Sent when the frame changes its window.name. |
| 998 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName, | 1004 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName, |
| 999 std::string /* name */, | 1005 std::string /* name */, |
| 1000 std::string /* unique_name */) | 1006 std::string /* unique_name */) |
| 1001 | 1007 |
| 1002 // Notifies the browser process that a non-empty Feature-Policy HTTP header was | 1008 // Notifies the browser process that a non-empty Feature-Policy HTTP header was |
| 1003 // delivered with the document being loaded into the frame. | 1009 // delivered with the document being loaded into the frame. |
| 1004 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidSetFeaturePolicyHeader, std::string) | 1010 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidSetFeaturePolicyHeader, |
| 1011 std::vector<content::FeaturePolicyParsedWhitelist>) |
| 1005 | 1012 |
| 1006 // Notifies the browser process about a new Content Security Policy that needs | 1013 // Notifies the browser process about a new Content Security Policy that needs |
| 1007 // to be applies to the frame. This message is sent when a frame commits | 1014 // to be applies to the frame. This message is sent when a frame commits |
| 1008 // navigation to a new location (reporting accumulated policies from HTTP | 1015 // navigation to a new location (reporting accumulated policies from HTTP |
| 1009 // headers and/or policies that might have been inherited from the parent frame) | 1016 // headers and/or policies that might have been inherited from the parent frame) |
| 1010 // or when a new policy has been discovered afterwards (i.e. found in a | 1017 // or when a new policy has been discovered afterwards (i.e. found in a |
| 1011 // dynamically added or a static <meta> element). | 1018 // dynamically added or a static <meta> element). |
| 1012 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy, | 1019 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy, |
| 1013 content::ContentSecurityPolicyHeader) | 1020 content::ContentSecurityPolicyHeader) |
| 1014 | 1021 |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1521 // nearest find result in the sending frame. | 1528 // nearest find result in the sending frame. |
| 1522 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1529 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1523 int /* nfr_request_id */, | 1530 int /* nfr_request_id */, |
| 1524 float /* distance */) | 1531 float /* distance */) |
| 1525 #endif | 1532 #endif |
| 1526 | 1533 |
| 1527 // Adding a new message? Stick to the sort order above: first platform | 1534 // Adding a new message? Stick to the sort order above: first platform |
| 1528 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1535 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1529 // platform independent FrameHostMsg, then ifdefs for platform specific | 1536 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1530 // FrameHostMsg. | 1537 // FrameHostMsg. |
| OLD | NEW |