OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 4 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
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 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 #ifndef Settings_h | 28 #ifndef Settings_h |
29 #define Settings_h | 29 #define Settings_h |
30 | 30 |
| 31 #include <memory> |
31 #include "bindings/core/v8/V8CacheOptions.h" | 32 #include "bindings/core/v8/V8CacheOptions.h" |
32 #include "bindings/core/v8/V8CacheStrategiesForCacheStorage.h" | 33 #include "bindings/core/v8/V8CacheStrategiesForCacheStorage.h" |
33 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
34 #include "core/SettingsMacros.h" | 35 #include "core/SettingsMacros.h" |
35 #include "core/editing/EditingBehaviorTypes.h" | 36 #include "core/editing/EditingBehaviorTypes.h" |
36 #include "core/editing/SelectionStrategy.h" | 37 #include "core/editing/SelectionStrategy.h" |
37 #include "core/events/AddEventListenerOptionsDefaults.h" | 38 #include "core/events/AddEventListenerOptionsDefaults.h" |
38 #include "core/frame/SettingsDelegate.h" | 39 #include "core/frame/SettingsDelegate.h" |
39 #include "core/html/track/TextTrackKindUserPreference.h" | 40 #include "core/html/track/TextTrackKindUserPreference.h" |
40 #include "core/loader/FrameLoaderTypes.h" | 41 #include "core/loader/FrameLoaderTypes.h" |
41 #include "platform/Timer.h" | 42 #include "platform/Timer.h" |
42 #include "platform/fonts/GenericFontFamilySettings.h" | 43 #include "platform/fonts/GenericFontFamilySettings.h" |
43 #include "platform/geometry/IntSize.h" | 44 #include "platform/geometry/IntSize.h" |
44 #include "platform/graphics/ImageAnimationPolicy.h" | 45 #include "platform/graphics/ImageAnimationPolicy.h" |
45 #include "platform/weborigin/KURL.h" | 46 #include "platform/weborigin/KURL.h" |
46 #include "public/platform/PointerProperties.h" | 47 #include "public/platform/PointerProperties.h" |
47 #include "public/platform/WebDisplayMode.h" | 48 #include "public/platform/WebDisplayMode.h" |
48 #include "public/platform/WebViewportStyle.h" | 49 #include "public/platform/WebViewportStyle.h" |
49 #include <memory> | |
50 | 50 |
51 namespace blink { | 51 namespace blink { |
52 | 52 |
53 class CORE_EXPORT Settings { | 53 class CORE_EXPORT Settings { |
54 WTF_MAKE_NONCOPYABLE(Settings); | 54 WTF_MAKE_NONCOPYABLE(Settings); |
55 USING_FAST_MALLOC(Settings); | 55 USING_FAST_MALLOC(Settings); |
56 | 56 |
57 public: | 57 public: |
58 static std::unique_ptr<Settings> create(); | 58 static std::unique_ptr<Settings> create(); |
59 | 59 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 GenericFontFamilySettings m_genericFontFamilySettings; | 92 GenericFontFamilySettings m_genericFontFamilySettings; |
93 IntSize m_textAutosizingWindowSizeOverride; | 93 IntSize m_textAutosizingWindowSizeOverride; |
94 bool m_textAutosizingEnabled : 1; | 94 bool m_textAutosizingEnabled : 1; |
95 | 95 |
96 SETTINGS_MEMBER_VARIABLES | 96 SETTINGS_MEMBER_VARIABLES |
97 }; | 97 }; |
98 | 98 |
99 } // namespace blink | 99 } // namespace blink |
100 | 100 |
101 #endif // Settings_h | 101 #endif // Settings_h |
OLD | NEW |