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

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

Issue 1756343002: Revert of Extract webkit_unit_tests from blink_web component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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"
38 36
39 namespace blink { 37 namespace blink {
40 38
41 class DevToolsEmulator; 39 class DevToolsEmulator;
42 class Settings; 40 class Settings;
43 41
44 class WEB_EXPORT WebSettingsImpl final : WTF_NON_EXPORTED_BASE(public WebSetting s) { 42 class WebSettingsImpl final : public WebSettings {
45 public: 43 public:
46 WebSettingsImpl(Settings*, DevToolsEmulator*); 44 WebSettingsImpl(Settings*, DevToolsEmulator*);
47 virtual ~WebSettingsImpl() { } 45 virtual ~WebSettingsImpl() { }
48 46
49 void setFromStrings(const WebString& name, const WebString& value) override; 47 void setFromStrings(const WebString& name, const WebString& value) override;
50 48
51 bool mainFrameResizesAreOrientationChanges() const override; 49 bool mainFrameResizesAreOrientationChanges() const override;
52 bool shrinksViewportContentToFit() const override; 50 bool shrinksViewportContentToFit() const override;
53 bool viewportEnabled() const override; 51 bool viewportEnabled() const override;
54 void setAccelerated2dCanvasEnabled(bool) override; 52 void setAccelerated2dCanvasEnabled(bool) override;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool m_viewportMetaNonUserScalableQuirk; 227 bool m_viewportMetaNonUserScalableQuirk;
230 // This quirk is to maintain compatibility with Android apps built on 228 // This quirk is to maintain compatibility with Android apps built on
231 // the Android SDK prior to and including version 18. Presumably, this 229 // the Android SDK prior to and including version 18. Presumably, this
232 // can be removed any time after 2015. See http://crbug.com/313754. 230 // can be removed any time after 2015. See http://crbug.com/313754.
233 bool m_clobberUserAgentInitialScaleQuirk; 231 bool m_clobberUserAgentInitialScaleQuirk;
234 }; 232 };
235 233
236 } // namespace blink 234 } // namespace blink
237 235
238 #endif 236 #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