OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 10 matching lines...) Expand all Loading... |
21 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 21 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 #ifndef InternalSettings_h | 27 #ifndef InternalSettings_h |
28 #define InternalSettings_h | 28 #define InternalSettings_h |
29 | 29 |
30 #include "core/InternalSettingsGenerated.h" | 30 #include "core/InternalSettingsGenerated.h" |
31 #include "core/css/DisplayModeProperties.h" | |
32 #include "core/editing/EditingBehaviorTypes.h" | 31 #include "core/editing/EditingBehaviorTypes.h" |
33 #include "platform/geometry/IntSize.h" | 32 #include "platform/geometry/IntSize.h" |
34 #include "platform/graphics/ImageAnimationPolicy.h" | 33 #include "platform/graphics/ImageAnimationPolicy.h" |
35 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
| 35 #include "public/platform/WebDisplayMode.h" |
36 #include "wtf/PassRefPtr.h" | 36 #include "wtf/PassRefPtr.h" |
37 #include "wtf/RefCounted.h" | 37 #include "wtf/RefCounted.h" |
38 #include "wtf/text/WTFString.h" | 38 #include "wtf/text/WTFString.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class Document; | 42 class Document; |
43 class ExceptionState; | 43 class ExceptionState; |
44 class LocalFrame; | 44 class LocalFrame; |
45 class Page; | 45 class Page; |
(...skipping 13 matching lines...) Expand all Loading... |
59 void restoreTo(Settings*); | 59 void restoreTo(Settings*); |
60 | 60 |
61 bool m_originalAuthorShadowDOMForAnyElementEnabled; | 61 bool m_originalAuthorShadowDOMForAnyElementEnabled; |
62 bool m_originalCSP; | 62 bool m_originalCSP; |
63 bool m_originalOverlayScrollbarsEnabled; | 63 bool m_originalOverlayScrollbarsEnabled; |
64 EditingBehaviorType m_originalEditingBehavior; | 64 EditingBehaviorType m_originalEditingBehavior; |
65 bool m_originalTextAutosizingEnabled; | 65 bool m_originalTextAutosizingEnabled; |
66 IntSize m_originalTextAutosizingWindowSizeOverride; | 66 IntSize m_originalTextAutosizingWindowSizeOverride; |
67 float m_originalAccessibilityFontScaleFactor; | 67 float m_originalAccessibilityFontScaleFactor; |
68 String m_originalMediaTypeOverride; | 68 String m_originalMediaTypeOverride; |
69 DisplayMode m_originalDisplayModeOverride; | 69 WebDisplayMode m_originalDisplayModeOverride; |
70 bool m_originalMockScrollbarsEnabled; | 70 bool m_originalMockScrollbarsEnabled; |
71 bool m_originalMockGestureTapHighlightsEnabled; | 71 bool m_originalMockGestureTapHighlightsEnabled; |
72 bool m_langAttributeAwareFormControlUIEnabled; | 72 bool m_langAttributeAwareFormControlUIEnabled; |
73 bool m_imagesEnabled; | 73 bool m_imagesEnabled; |
74 String m_defaultVideoPosterURL; | 74 String m_defaultVideoPosterURL; |
75 bool m_originalLayerSquashingEnabled; | 75 bool m_originalLayerSquashingEnabled; |
76 bool m_originalPseudoClassesInMatchingCriteriaInAuthorShadowTreesEnabled
; | 76 bool m_originalPseudoClassesInMatchingCriteriaInAuthorShadowTreesEnabled
; |
77 bool m_originalImageColorProfilesEnabled; | 77 bool m_originalImageColorProfilesEnabled; |
78 ImageAnimationPolicy m_originalImageAnimationPolicy; | 78 ImageAnimationPolicy m_originalImageAnimationPolicy; |
79 }; | 79 }; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 Page* page() const { return m_page; } | 136 Page* page() const { return m_page; } |
137 static const char* supplementName(); | 137 static const char* supplementName(); |
138 | 138 |
139 RawPtrWillBeWeakMember<Page> m_page; | 139 RawPtrWillBeWeakMember<Page> m_page; |
140 Backup m_backup; | 140 Backup m_backup; |
141 }; | 141 }; |
142 | 142 |
143 } // namespace blink | 143 } // namespace blink |
144 | 144 |
145 #endif // InternalSettings_h | 145 #endif // InternalSettings_h |
OLD | NEW |