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