Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: Source/core/frame/Settings.h

Issue 870933002: Make it possible to set the display mode from the WebView API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Using enum now Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/Settings.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserved.
3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
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 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 12 matching lines...) Expand all
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #ifndef Settings_h 27 #ifndef Settings_h
28 #define Settings_h 28 #define Settings_h
29 29
30 #include "bindings/core/v8/ScriptStreamingMode.h" 30 #include "bindings/core/v8/ScriptStreamingMode.h"
31 #include "bindings/core/v8/V8CacheOptions.h" 31 #include "bindings/core/v8/V8CacheOptions.h"
32 #include "core/SettingsMacros.h" 32 #include "core/SettingsMacros.h"
33 #include "core/css/DisplayModeProperties.h"
34 #include "core/css/PointerProperties.h" 33 #include "core/css/PointerProperties.h"
35 #include "core/editing/EditingBehaviorTypes.h" 34 #include "core/editing/EditingBehaviorTypes.h"
36 #include "core/frame/SettingsDelegate.h" 35 #include "core/frame/SettingsDelegate.h"
37 #include "platform/Timer.h" 36 #include "platform/Timer.h"
38 #include "platform/fonts/GenericFontFamilySettings.h" 37 #include "platform/fonts/GenericFontFamilySettings.h"
39 #include "platform/geometry/IntSize.h" 38 #include "platform/geometry/IntSize.h"
40 #include "platform/graphics/ImageAnimationPolicy.h" 39 #include "platform/graphics/ImageAnimationPolicy.h"
41 #include "platform/weborigin/KURL.h" 40 #include "platform/weborigin/KURL.h"
41 #include "public/platform/WebDisplayMode.h"
42 #include "wtf/HashSet.h" 42 #include "wtf/HashSet.h"
43 #include "wtf/RefCounted.h" 43 #include "wtf/RefCounted.h"
44 44
45 namespace blink { 45 namespace blink {
46 46
47 class Settings { 47 class Settings {
48 WTF_MAKE_NONCOPYABLE(Settings); WTF_MAKE_FAST_ALLOCATED; 48 WTF_MAKE_NONCOPYABLE(Settings); WTF_MAKE_FAST_ALLOCATED;
49 public: 49 public:
50 static PassOwnPtr<Settings> create(); 50 static PassOwnPtr<Settings> create();
51 51
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 bool m_openGLMultisamplingEnabled : 1; 83 bool m_openGLMultisamplingEnabled : 1;
84 IntSize m_textAutosizingWindowSizeOverride; 84 IntSize m_textAutosizingWindowSizeOverride;
85 bool m_textAutosizingEnabled : 1; 85 bool m_textAutosizingEnabled : 1;
86 86
87 SETTINGS_MEMBER_VARIABLES 87 SETTINGS_MEMBER_VARIABLES
88 }; 88 };
89 89
90 } // namespace blink 90 } // namespace blink
91 91
92 #endif // Settings_h 92 #endif // Settings_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698