| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_ | 5 #ifndef CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_ |
| 6 #define CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_ | 6 #define CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 bool operator!=(const FrameOwnerProperties& other) const { | 26 bool operator!=(const FrameOwnerProperties& other) const { |
| 27 return !(*this == other); | 27 return !(*this == other); |
| 28 } | 28 } |
| 29 | 29 |
| 30 std::string name; // browsing context container's name | 30 std::string name; // browsing context container's name |
| 31 blink::WebFrameOwnerProperties::ScrollingMode scrolling_mode; | 31 blink::WebFrameOwnerProperties::ScrollingMode scrolling_mode; |
| 32 int margin_width; | 32 int margin_width; |
| 33 int margin_height; | 33 int margin_height; |
| 34 bool allow_fullscreen; | 34 bool allow_fullscreen; |
| 35 bool allow_payment_request; | 35 bool allow_payment_request; |
| 36 bool is_display_none; |
| 36 | 37 |
| 37 // An experimental attribute to be used by a parent frame to enforce CSP on a | 38 // An experimental attribute to be used by a parent frame to enforce CSP on a |
| 38 // subframe. This is different from replicated CSP headers kept in | 39 // subframe. This is different from replicated CSP headers kept in |
| 39 // FrameReplicationState that keep track of CSP headers currently in effect | 40 // FrameReplicationState that keep track of CSP headers currently in effect |
| 40 // for a frame. See https://crbug.com/647588 and | 41 // for a frame. See https://crbug.com/647588 and |
| 41 // https://www.w3.org/TR/csp-embedded-enforcement/#required-csp | 42 // https://www.w3.org/TR/csp-embedded-enforcement/#required-csp |
| 42 std::string required_csp; | 43 std::string required_csp; |
| 43 | 44 |
| 44 std::vector<blink::mojom::PermissionName> delegated_permissions; | 45 std::vector<blink::mojom::PermissionName> delegated_permissions; |
| 45 std::vector<blink::WebFeaturePolicyFeature> allowed_features; | 46 std::vector<blink::WebFeaturePolicyFeature> allowed_features; |
| 46 }; | 47 }; |
| 47 | 48 |
| 48 } // namespace content | 49 } // namespace content |
| 49 | 50 |
| 50 #endif // CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_ | 51 #endif // CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_ |
| OLD | NEW |