| 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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) | 386 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) |
| 387 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) | 387 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) |
| 388 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) | 388 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) |
| 389 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id) | 389 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id) |
| 390 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 390 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
| 391 #if defined(OS_ANDROID) | 391 #if defined(OS_ANDROID) |
| 392 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) | 392 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) |
| 393 #endif | 393 #endif |
| 394 IPC_STRUCT_TRAITS_END() | 394 IPC_STRUCT_TRAITS_END() |
| 395 | 395 |
| 396 IPC_STRUCT_TRAITS_BEGIN(content::FeaturePolicyParsedWhitelist) | 396 IPC_STRUCT_TRAITS_BEGIN(content::FeaturePolicyParsedDeclaration) |
| 397 IPC_STRUCT_TRAITS_MEMBER(feature_name) | 397 IPC_STRUCT_TRAITS_MEMBER(feature_name) |
| 398 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins) | 398 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins) |
| 399 IPC_STRUCT_TRAITS_MEMBER(origins) | 399 IPC_STRUCT_TRAITS_MEMBER(origins) |
| 400 IPC_STRUCT_TRAITS_END() | 400 IPC_STRUCT_TRAITS_END() |
| 401 | 401 |
| 402 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) | 402 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) |
| 403 IPC_STRUCT_TRAITS_MEMBER(origin) | 403 IPC_STRUCT_TRAITS_MEMBER(origin) |
| 404 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) | 404 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) |
| 405 IPC_STRUCT_TRAITS_MEMBER(name) | 405 IPC_STRUCT_TRAITS_MEMBER(name) |
| 406 IPC_STRUCT_TRAITS_MEMBER(unique_name) | 406 IPC_STRUCT_TRAITS_MEMBER(unique_name) |
| (...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1012 | 1012 |
| 1013 // Sent when the frame changes its window.name. | 1013 // Sent when the frame changes its window.name. |
| 1014 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName, | 1014 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName, |
| 1015 std::string /* name */, | 1015 std::string /* name */, |
| 1016 std::string /* unique_name */) | 1016 std::string /* unique_name */) |
| 1017 | 1017 |
| 1018 // Notifies the browser process that a non-empty Feature-Policy HTTP header was | 1018 // Notifies the browser process that a non-empty Feature-Policy HTTP header was |
| 1019 // delivered with the document being loaded into the frame. |parsed_header| is | 1019 // delivered with the document being loaded into the frame. |parsed_header| is |
| 1020 // a list of an origin whitelist for each feature in the policy. | 1020 // a list of an origin whitelist for each feature in the policy. |
| 1021 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidSetFeaturePolicyHeader, | 1021 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidSetFeaturePolicyHeader, |
| 1022 content::ParsedFeaturePolicy /* parsed_header */) | 1022 content::FeaturePolicyHeader /* parsed_header */) |
| 1023 | 1023 |
| 1024 // Notifies the browser process about a new Content Security Policy that needs | 1024 // Notifies the browser process about a new Content Security Policy that needs |
| 1025 // to be applies to the frame. This message is sent when a frame commits | 1025 // to be applies to the frame. This message is sent when a frame commits |
| 1026 // navigation to a new location (reporting accumulated policies from HTTP | 1026 // navigation to a new location (reporting accumulated policies from HTTP |
| 1027 // headers and/or policies that might have been inherited from the parent frame) | 1027 // headers and/or policies that might have been inherited from the parent frame) |
| 1028 // or when a new policy has been discovered afterwards (i.e. found in a | 1028 // or when a new policy has been discovered afterwards (i.e. found in a |
| 1029 // dynamically added or a static <meta> element). | 1029 // dynamically added or a static <meta> element). |
| 1030 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy, | 1030 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy, |
| 1031 content::ContentSecurityPolicyHeader) | 1031 content::ContentSecurityPolicyHeader) |
| 1032 | 1032 |
| (...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1554 // nearest find result in the sending frame. | 1554 // nearest find result in the sending frame. |
| 1555 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1555 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1556 int /* nfr_request_id */, | 1556 int /* nfr_request_id */, |
| 1557 float /* distance */) | 1557 float /* distance */) |
| 1558 #endif | 1558 #endif |
| 1559 | 1559 |
| 1560 // Adding a new message? Stick to the sort order above: first platform | 1560 // Adding a new message? Stick to the sort order above: first platform |
| 1561 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1561 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1562 // platform independent FrameHostMsg, then ifdefs for platform specific | 1562 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1563 // FrameHostMsg. | 1563 // FrameHostMsg. |
| OLD | NEW |