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 public: | 42 public: |
43 explicit WebSettingsImpl(Settings*, InspectorController*); | 43 explicit WebSettingsImpl(Settings*, InspectorController*); |
44 virtual ~WebSettingsImpl() { } | 44 virtual ~WebSettingsImpl() { } |
45 | 45 |
46 virtual bool mainFrameResizesAreOrientationChanges() const OVERRIDE; | 46 virtual bool mainFrameResizesAreOrientationChanges() const OVERRIDE; |
47 virtual bool shrinksViewportContentToFit() const OVERRIDE; | 47 virtual bool shrinksViewportContentToFit() const OVERRIDE; |
48 virtual bool viewportEnabled() const OVERRIDE; | 48 virtual bool viewportEnabled() const OVERRIDE; |
49 virtual void setAccelerated2dCanvasEnabled(bool) OVERRIDE; | 49 virtual void setAccelerated2dCanvasEnabled(bool) OVERRIDE; |
50 virtual void setAccelerated2dCanvasMSAASampleCount(int) OVERRIDE; | 50 virtual void setAccelerated2dCanvasMSAASampleCount(int) OVERRIDE; |
51 virtual void setAcceleratedCompositingEnabled(bool) OVERRIDE; | 51 virtual void setAcceleratedCompositingEnabled(bool) OVERRIDE; |
| 52 virtual void setPreferCompositingToLCDTextEnabled(bool) OVERRIDE; |
52 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) OVERRIDE
; | 53 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool) OVERRIDE
; |
53 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) OVERRID
E; | 54 virtual void setAcceleratedCompositingForOverflowScrollEnabled(bool) OVERRID
E; |
54 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) OVERRIDE; | 55 virtual void setCompositorDrivenAcceleratedScrollingEnabled(bool) OVERRIDE; |
55 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) OV
ERRIDE; | 56 virtual void setAcceleratedCompositingForFixedRootBackgroundEnabled(bool) OV
ERRIDE; |
56 virtual void setAllowDisplayOfInsecureContent(bool) OVERRIDE; | 57 virtual void setAllowDisplayOfInsecureContent(bool) OVERRIDE; |
57 virtual void setAllowFileAccessFromFileURLs(bool) OVERRIDE; | 58 virtual void setAllowFileAccessFromFileURLs(bool) OVERRIDE; |
58 virtual void setAllowCustomScrollbarInMainFrame(bool) OVERRIDE; | 59 virtual void setAllowCustomScrollbarInMainFrame(bool) OVERRIDE; |
59 virtual void setAllowRunningOfInsecureContent(bool) OVERRIDE; | 60 virtual void setAllowRunningOfInsecureContent(bool) OVERRIDE; |
60 virtual void setAllowConnectingInsecureWebSocket(bool) OVERRIDE; | 61 virtual void setAllowConnectingInsecureWebSocket(bool) OVERRIDE; |
61 virtual void setAllowScriptsToCloseWindows(bool) OVERRIDE; | 62 virtual void setAllowScriptsToCloseWindows(bool) OVERRIDE; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 // This quirk is to maintain compatibility with Android apps built on | 207 // This quirk is to maintain compatibility with Android apps built on |
207 // the Android SDK prior to and including version 18. Presumably, this | 208 // the Android SDK prior to and including version 18. Presumably, this |
208 // can be removed any time after 2015. See http://crbug.com/313754. | 209 // can be removed any time after 2015. See http://crbug.com/313754. |
209 bool m_clobberUserAgentInitialScaleQuirk; | 210 bool m_clobberUserAgentInitialScaleQuirk; |
210 bool m_mainFrameResizesAreOrientationChanges; | 211 bool m_mainFrameResizesAreOrientationChanges; |
211 }; | 212 }; |
212 | 213 |
213 } // namespace blink | 214 } // namespace blink |
214 | 215 |
215 #endif | 216 #endif |
OLD | NEW |