| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #ifndef WebSettingsImpl_h | 31 #ifndef WebSettingsImpl_h |
| 32 #define WebSettingsImpl_h | 32 #define WebSettingsImpl_h |
| 33 | 33 |
| 34 #include "WebSettings.h" | 34 #include "WebSettings.h" |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace WebCore { |
| 37 class Settings; | 37 class Settings; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace WebKit { | 40 namespace blink { |
| 41 | 41 |
| 42 class WebSettingsImpl : public WebSettings { | 42 class WebSettingsImpl : public WebSettings { |
| 43 public: | 43 public: |
| 44 explicit WebSettingsImpl(WebCore::Settings*); | 44 explicit WebSettingsImpl(WebCore::Settings*); |
| 45 virtual ~WebSettingsImpl() { } | 45 virtual ~WebSettingsImpl() { } |
| 46 | 46 |
| 47 virtual bool mainFrameResizesAreOrientationChanges() const; | 47 virtual bool mainFrameResizesAreOrientationChanges() const; |
| 48 virtual bool deviceSupportsTouch(); | 48 virtual bool deviceSupportsTouch(); |
| 49 virtual bool scrollAnimatorEnabled() const; | 49 virtual bool scrollAnimatorEnabled() const; |
| 50 virtual bool touchEditingEnabled() const; | 50 virtual bool touchEditingEnabled() const; |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 // can be removed any time after 2015. See http://crbug.com/312691. | 222 // can be removed any time after 2015. See http://crbug.com/312691. |
| 223 bool m_viewportMetaNonUserScalableQuirk; | 223 bool m_viewportMetaNonUserScalableQuirk; |
| 224 // This quirk is to maintain compatibility with Android apps built on | 224 // This quirk is to maintain compatibility with Android apps built on |
| 225 // the Android SDK prior to and including version 18. Presumably, this | 225 // the Android SDK prior to and including version 18. Presumably, this |
| 226 // can be removed any time after 2015. See http://crbug.com/313754. | 226 // can be removed any time after 2015. See http://crbug.com/313754. |
| 227 bool m_clobberUserAgentInitialScaleQuirk; | 227 bool m_clobberUserAgentInitialScaleQuirk; |
| 228 int m_pinchOverlayScrollbarThickness; | 228 int m_pinchOverlayScrollbarThickness; |
| 229 bool m_mainFrameResizesAreOrientationChanges; | 229 bool m_mainFrameResizesAreOrientationChanges; |
| 230 }; | 230 }; |
| 231 | 231 |
| 232 } // namespace WebKit | 232 } // namespace blink |
| 233 | 233 |
| 234 #endif | 234 #endif |
| OLD | NEW |