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

Side by Side Diff: third_party/WebKit/Source/web/WebSettingsImpl.h

Issue 1676083002: Extract webkit_unit_tests from blink_web component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win dbg non-oilpan fix: make TextFinder non-copyable Created 4 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 15 matching lines...) Expand all
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebSettingsImpl_h 31 #ifndef WebSettingsImpl_h
32 #define WebSettingsImpl_h 32 #define WebSettingsImpl_h
33 33
34 #include "platform/heap/Handle.h" 34 #include "platform/heap/Handle.h"
35 #include "public/web/WebSettings.h" 35 #include "public/web/WebSettings.h"
36 #include "web/WebExport.h"
37 #include "wtf/Compiler.h"
36 38
37 namespace blink { 39 namespace blink {
38 40
39 class DevToolsEmulator; 41 class DevToolsEmulator;
40 class Settings; 42 class Settings;
41 43
42 class WebSettingsImpl final : public WebSettings { 44 class WEB_EXPORT WebSettingsImpl final : WTF_NON_EXPORTED_BASE(public WebSetting s) {
43 public: 45 public:
44 WebSettingsImpl(Settings*, DevToolsEmulator*); 46 WebSettingsImpl(Settings*, DevToolsEmulator*);
45 virtual ~WebSettingsImpl() { } 47 virtual ~WebSettingsImpl() { }
46 48
47 void setFromStrings(const WebString& name, const WebString& value) override; 49 void setFromStrings(const WebString& name, const WebString& value) override;
48 50
49 bool mainFrameResizesAreOrientationChanges() const override; 51 bool mainFrameResizesAreOrientationChanges() const override;
50 bool shrinksViewportContentToFit() const override; 52 bool shrinksViewportContentToFit() const override;
51 bool viewportEnabled() const override; 53 bool viewportEnabled() const override;
52 void setAccelerated2dCanvasEnabled(bool) override; 54 void setAccelerated2dCanvasEnabled(bool) override;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 bool m_viewportMetaNonUserScalableQuirk; 229 bool m_viewportMetaNonUserScalableQuirk;
228 // This quirk is to maintain compatibility with Android apps built on 230 // This quirk is to maintain compatibility with Android apps built on
229 // the Android SDK prior to and including version 18. Presumably, this 231 // the Android SDK prior to and including version 18. Presumably, this
230 // can be removed any time after 2015. See http://crbug.com/313754. 232 // can be removed any time after 2015. See http://crbug.com/313754.
231 bool m_clobberUserAgentInitialScaleQuirk; 233 bool m_clobberUserAgentInitialScaleQuirk;
232 }; 234 };
233 235
234 } // namespace blink 236 } // namespace blink
235 237
236 #endif 238 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698