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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; | 50 virtual bool viewportEnabled() const; |
51 virtual void setAccelerated2dCanvasEnabled(bool); | 51 virtual void setAccelerated2dCanvasEnabled(bool); |
| 52 virtual void setAccelerated2dCanvasMSAASampleCount(int); |
52 virtual void setAcceleratedCompositingEnabled(bool); | 53 virtual void setAcceleratedCompositingEnabled(bool); |
53 virtual void setAcceleratedCompositingFor3DTransformsEnabled(bool); | 54 virtual void setAcceleratedCompositingFor3DTransformsEnabled(bool); |
54 virtual void setAcceleratedCompositingForAnimationEnabled(bool); | 55 virtual void setAcceleratedCompositingForAnimationEnabled(bool); |
55 virtual void setAcceleratedCompositingForCanvasEnabled(bool); | 56 virtual void setAcceleratedCompositingForCanvasEnabled(bool); |
56 virtual void setAcceleratedCompositingForFiltersEnabled(bool); | 57 virtual void setAcceleratedCompositingForFiltersEnabled(bool); |
57 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool); | 58 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool); |
58 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool); | 59 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool); |
59 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool); | 60 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool); |
60 virtual void setAcceleratedCompositingForTransitionEnabled(bool); | 61 virtual void setAcceleratedCompositingForTransitionEnabled(bool); |
61 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool); | 62 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool); |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 // This quirk is to maintain compatibility with Android apps built on | 205 // This quirk is to maintain compatibility with Android apps built on |
205 // the Android SDK prior to and including version 18. Presumably, this | 206 // the Android SDK prior to and including version 18. Presumably, this |
206 // can be removed any time after 2015. See http://crbug.com/277369. | 207 // can be removed any time after 2015. See http://crbug.com/277369. |
207 bool m_viewportMetaLayoutSizeQuirk; | 208 bool m_viewportMetaLayoutSizeQuirk; |
208 int m_pinchOverlayScrollbarThickness; | 209 int m_pinchOverlayScrollbarThickness; |
209 }; | 210 }; |
210 | 211 |
211 } // namespace WebKit | 212 } // namespace WebKit |
212 | 213 |
213 #endif | 214 #endif |
OLD | NEW |