| 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 29 matching lines...) Expand all Loading... |
| 40 namespace WebKit { | 40 namespace WebKit { |
| 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 deviceSupportsTouch(); | 47 virtual bool deviceSupportsTouch(); |
| 48 virtual bool scrollAnimatorEnabled() const; | 48 virtual bool scrollAnimatorEnabled() const; |
| 49 virtual bool touchEditingEnabled() const; | 49 virtual bool touchEditingEnabled() const; |
| 50 virtual bool viewportEnabled() const { return m_viewportEnabled; } | 50 virtual bool viewportEnabled() const; |
| 51 virtual void setAccelerated2dCanvasEnabled(bool); | 51 virtual void setAccelerated2dCanvasEnabled(bool); |
| 52 virtual void setAcceleratedCompositingEnabled(bool); | 52 virtual void setAcceleratedCompositingEnabled(bool); |
| 53 virtual void setAcceleratedCompositingFor3DTransformsEnabled(bool); | 53 virtual void setAcceleratedCompositingFor3DTransformsEnabled(bool); |
| 54 virtual void setAcceleratedCompositingForAnimationEnabled(bool); | 54 virtual void setAcceleratedCompositingForAnimationEnabled(bool); |
| 55 virtual void setAcceleratedCompositingForCanvasEnabled(bool); | 55 virtual void setAcceleratedCompositingForCanvasEnabled(bool); |
| 56 virtual void setAcceleratedCompositingForFiltersEnabled(bool); | 56 virtual void setAcceleratedCompositingForFiltersEnabled(bool); |
| 57 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool); | 57 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool); |
| 58 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool); | 58 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool); |
| 59 virtual void setAcceleratedCompositingForTransitionEnabled(bool); | 59 virtual void setAcceleratedCompositingForTransitionEnabled(bool); |
| 60 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool); | 60 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool); |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } | 176 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } |
| 177 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 177 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
| 178 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 178 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
| 179 int pinchOverlayScrollbarThickness() const { return m_pinchOverlayScrollbarT
hickness; } | 179 int pinchOverlayScrollbarThickness() const { return m_pinchOverlayScrollbarT
hickness; } |
| 180 | 180 |
| 181 private: | 181 private: |
| 182 WebCore::Settings* m_settings; | 182 WebCore::Settings* m_settings; |
| 183 bool m_showFPSCounter; | 183 bool m_showFPSCounter; |
| 184 bool m_showPaintRects; | 184 bool m_showPaintRects; |
| 185 bool m_renderVSyncNotificationEnabled; | 185 bool m_renderVSyncNotificationEnabled; |
| 186 bool m_viewportEnabled; | |
| 187 bool m_gestureTapHighlightEnabled; | 186 bool m_gestureTapHighlightEnabled; |
| 188 bool m_autoZoomFocusedNodeToLegibleScale; | 187 bool m_autoZoomFocusedNodeToLegibleScale; |
| 189 bool m_deferredImageDecodingEnabled; | 188 bool m_deferredImageDecodingEnabled; |
| 190 bool m_doubleTapToZoomEnabled; | 189 bool m_doubleTapToZoomEnabled; |
| 191 bool m_perTilePaintingEnabled; | 190 bool m_perTilePaintingEnabled; |
| 192 bool m_supportDeprecatedTargetDensityDPI; | 191 bool m_supportDeprecatedTargetDensityDPI; |
| 193 int m_pinchOverlayScrollbarThickness; | 192 int m_pinchOverlayScrollbarThickness; |
| 194 }; | 193 }; |
| 195 | 194 |
| 196 } // namespace WebKit | 195 } // namespace WebKit |
| 197 | 196 |
| 198 #endif | 197 #endif |
| OLD | NEW |