| 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 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1104 content::ParsedFeaturePolicyHeader /* parsed_header */) | 1104 content::ParsedFeaturePolicyHeader /* parsed_header */) |
| 1105 | 1105 |
| 1106 // Notifies the browser process about a new Content Security Policy that needs | 1106 // Notifies the browser process about a new Content Security Policy that needs |
| 1107 // to be applies to the frame. This message is sent when a frame commits | 1107 // to be applies to the frame. This message is sent when a frame commits |
| 1108 // navigation to a new location (reporting accumulated policies from HTTP | 1108 // navigation to a new location (reporting accumulated policies from HTTP |
| 1109 // headers and/or policies that might have been inherited from the parent frame) | 1109 // headers and/or policies that might have been inherited from the parent frame) |
| 1110 // or when a new policy has been discovered afterwards (i.e. found in a | 1110 // or when a new policy has been discovered afterwards (i.e. found in a |
| 1111 // dynamically added or a static <meta> element). | 1111 // dynamically added or a static <meta> element). |
| 1112 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidAddContentSecurityPolicy, | 1112 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidAddContentSecurityPolicy, |
| 1113 content::ContentSecurityPolicyHeader, | 1113 content::ContentSecurityPolicyHeader, |
| 1114 std::vector<content::ContentSecurityPolicy>) | 1114 content::ContentSecurityPolicy) |
| 1115 | 1115 |
| 1116 // Sent when the frame starts enforcing an insecure request policy. Sending | 1116 // Sent when the frame starts enforcing an insecure request policy. Sending |
| 1117 // this information in DidCommitProvisionalLoad isn't sufficient; this | 1117 // this information in DidCommitProvisionalLoad isn't sufficient; this |
| 1118 // message is needed because, for example, a document can dynamically insert | 1118 // message is needed because, for example, a document can dynamically insert |
| 1119 // a <meta> tag that causes strict mixed content checking to be enforced. | 1119 // a <meta> tag that causes strict mixed content checking to be enforced. |
| 1120 IPC_MESSAGE_ROUTED1(FrameHostMsg_EnforceInsecureRequestPolicy, | 1120 IPC_MESSAGE_ROUTED1(FrameHostMsg_EnforceInsecureRequestPolicy, |
| 1121 blink::WebInsecureRequestPolicy) | 1121 blink::WebInsecureRequestPolicy) |
| 1122 | 1122 |
| 1123 // Sent when the frame is set to a unique origin. TODO(estark): this IPC | 1123 // Sent when the frame is set to a unique origin. TODO(estark): this IPC |
| 1124 // only exists to support dynamic sandboxing via a CSP delivered in a | 1124 // only exists to support dynamic sandboxing via a CSP delivered in a |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1645 int /* nfr_request_id */, | 1645 int /* nfr_request_id */, |
| 1646 float /* distance */) | 1646 float /* distance */) |
| 1647 | 1647 |
| 1648 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1648 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
| 1649 #endif | 1649 #endif |
| 1650 | 1650 |
| 1651 // Adding a new message? Stick to the sort order above: first platform | 1651 // Adding a new message? Stick to the sort order above: first platform |
| 1652 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1652 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1653 // platform independent FrameHostMsg, then ifdefs for platform specific | 1653 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1654 // FrameHostMsg. | 1654 // FrameHostMsg. |
| OLD | NEW |