OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 WebFrameOwnerProperties_h | 5 #ifndef WebFrameOwnerProperties_h |
6 #define WebFrameOwnerProperties_h | 6 #define WebFrameOwnerProperties_h |
7 | 7 |
8 #include "../platform/WebFeaturePolicy.h" | 8 #include "public/platform/WebFeaturePolicy.h" |
9 #include "../platform/WebString.h" | 9 #include "public/platform/WebString.h" |
10 #include "../platform/WebVector.h" | 10 #include "public/platform/WebVector.h" |
11 | 11 |
12 #include <algorithm> | 12 #include <algorithm> |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 struct WebFrameOwnerProperties { | 16 struct WebFrameOwnerProperties { |
17 enum class ScrollingMode { kAuto, kAlwaysOff, kAlwaysOn, kLast = kAlwaysOn }; | 17 enum class ScrollingMode { kAuto, kAlwaysOff, kAlwaysOn, kLast = kAlwaysOn }; |
18 | 18 |
19 WebString name; // browsing context container's name | 19 WebString name; // browsing context container's name |
20 ScrollingMode scrolling_mode; | 20 ScrollingMode scrolling_mode; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 allow_payment_request(allow_payment_request), | 55 allow_payment_request(allow_payment_request), |
56 is_display_none(is_display_none), | 56 is_display_none(is_display_none), |
57 required_csp(required_csp), | 57 required_csp(required_csp), |
58 allowed_features(allowed_features) {} | 58 allowed_features(allowed_features) {} |
59 #endif | 59 #endif |
60 }; | 60 }; |
61 | 61 |
62 } // namespace blink | 62 } // namespace blink |
63 | 63 |
64 #endif | 64 #endif |
OLD | NEW |