OLD | NEW |
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 class WEB_EXPORT WebSettingsImpl final : WTF_NON_EXPORTED_BASE(public WebSetting
s) { | 44 class WEB_EXPORT WebSettingsImpl final : WTF_NON_EXPORTED_BASE(public WebSetting
s) { |
45 public: | 45 public: |
46 WebSettingsImpl(Settings*, DevToolsEmulator*); | 46 WebSettingsImpl(Settings*, DevToolsEmulator*); |
47 virtual ~WebSettingsImpl() { } | 47 virtual ~WebSettingsImpl() { } |
48 | 48 |
49 void setFromStrings(const WebString& name, const WebString& value) override; | 49 void setFromStrings(const WebString& name, const WebString& value) override; |
50 | 50 |
51 bool mainFrameResizesAreOrientationChanges() const override; | 51 bool mainFrameResizesAreOrientationChanges() const override; |
52 bool shrinksViewportContentToFit() const override; | 52 bool shrinksViewportContentToFit() const override; |
53 bool viewportEnabled() const override; | 53 bool viewportEnabled() const override; |
54 void setAccelerated2dCanvasEnabled(bool) override; | |
55 void setAccelerated2dCanvasMSAASampleCount(int) override; | 54 void setAccelerated2dCanvasMSAASampleCount(int) override; |
56 void setAcceleratedCompositingEnabled(bool) override; | 55 void setAcceleratedCompositingEnabled(bool) override; |
57 void setPreferCompositingToLCDTextEnabled(bool) override; | 56 void setPreferCompositingToLCDTextEnabled(bool) override; |
58 void setAccessibilityEnabled(bool) override; | 57 void setAccessibilityEnabled(bool) override; |
59 void setAccessibilityPasswordValuesEnabled(bool) override; | 58 void setAccessibilityPasswordValuesEnabled(bool) override; |
60 void setAllowDisplayOfInsecureContent(bool) override; | 59 void setAllowDisplayOfInsecureContent(bool) override; |
61 void setAllowFileAccessFromFileURLs(bool) override; | 60 void setAllowFileAccessFromFileURLs(bool) override; |
62 void setAllowCustomScrollbarInMainFrame(bool) override; | 61 void setAllowCustomScrollbarInMainFrame(bool) override; |
63 void setAllowGeolocationOnInsecureOrigins(bool) override; | 62 void setAllowGeolocationOnInsecureOrigins(bool) override; |
64 void setAllowRunningOfInsecureContent(bool) override; | 63 void setAllowRunningOfInsecureContent(bool) override; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 bool m_viewportMetaNonUserScalableQuirk; | 231 bool m_viewportMetaNonUserScalableQuirk; |
233 // This quirk is to maintain compatibility with Android apps built on | 232 // This quirk is to maintain compatibility with Android apps built on |
234 // the Android SDK prior to and including version 18. Presumably, this | 233 // the Android SDK prior to and including version 18. Presumably, this |
235 // can be removed any time after 2015. See http://crbug.com/313754. | 234 // can be removed any time after 2015. See http://crbug.com/313754. |
236 bool m_clobberUserAgentInitialScaleQuirk; | 235 bool m_clobberUserAgentInitialScaleQuirk; |
237 }; | 236 }; |
238 | 237 |
239 } // namespace blink | 238 } // namespace blink |
240 | 239 |
241 #endif | 240 #endif |
OLD | NEW |