| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 virtual void setAllowFileAccessFromFileURLs(bool); | 68 virtual void setAllowFileAccessFromFileURLs(bool); |
| 69 virtual void setAllowCustomScrollbarInMainFrame(bool); | 69 virtual void setAllowCustomScrollbarInMainFrame(bool); |
| 70 virtual void setAllowRunningOfInsecureContent(bool); | 70 virtual void setAllowRunningOfInsecureContent(bool); |
| 71 virtual void setAllowScriptsToCloseWindows(bool); | 71 virtual void setAllowScriptsToCloseWindows(bool); |
| 72 virtual void setAllowUniversalAccessFromFileURLs(bool); | 72 virtual void setAllowUniversalAccessFromFileURLs(bool); |
| 73 virtual void setAntialiased2dCanvasEnabled(bool); | 73 virtual void setAntialiased2dCanvasEnabled(bool); |
| 74 virtual void setAsynchronousSpellCheckingEnabled(bool); | 74 virtual void setAsynchronousSpellCheckingEnabled(bool); |
| 75 virtual void setAuthorAndUserStylesEnabled(bool); | 75 virtual void setAuthorAndUserStylesEnabled(bool); |
| 76 virtual void setAutoZoomFocusedNodeToLegibleScale(bool); | 76 virtual void setAutoZoomFocusedNodeToLegibleScale(bool); |
| 77 virtual void setCaretBrowsingEnabled(bool); | 77 virtual void setCaretBrowsingEnabled(bool); |
| 78 virtual void setClobberUserAgentInitialScaleQuirk(bool); |
| 78 virtual void setCompositedScrollingForFramesEnabled(bool); | 79 virtual void setCompositedScrollingForFramesEnabled(bool); |
| 79 virtual void setCompositorTouchHitTesting(bool); | 80 virtual void setCompositorTouchHitTesting(bool); |
| 80 virtual void setCookieEnabled(bool); | 81 virtual void setCookieEnabled(bool); |
| 81 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON); | 82 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON); |
| 82 virtual void setDNSPrefetchingEnabled(bool); | 83 virtual void setDNSPrefetchingEnabled(bool); |
| 83 virtual void setDOMPasteAllowed(bool); | 84 virtual void setDOMPasteAllowed(bool); |
| 84 virtual void setDefaultFixedFontSize(int); | 85 virtual void setDefaultFixedFontSize(int); |
| 85 virtual void setDefaultFontSize(int); | 86 virtual void setDefaultFontSize(int); |
| 86 virtual void setDefaultTextEncodingName(const WebString&); | 87 virtual void setDefaultTextEncodingName(const WebString&); |
| 87 virtual void setDefaultVideoPosterURL(const WebString&); | 88 virtual void setDefaultVideoPosterURL(const WebString&); |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 186 |
| 186 bool showFPSCounter() const { return m_showFPSCounter; } | 187 bool showFPSCounter() const { return m_showFPSCounter; } |
| 187 bool showPaintRects() const { return m_showPaintRects; } | 188 bool showPaintRects() const { return m_showPaintRects; } |
| 188 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } | 189 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } |
| 189 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } | 190 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } |
| 190 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable
d; } | 191 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable
d; } |
| 191 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } | 192 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } |
| 192 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 193 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
| 193 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 194 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
| 194 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } | 195 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } |
| 196 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn
itialScaleQuirk; } |
| 195 int pinchOverlayScrollbarThickness() const { return m_pinchOverlayScrollbarT
hickness; } | 197 int pinchOverlayScrollbarThickness() const { return m_pinchOverlayScrollbarT
hickness; } |
| 196 | 198 |
| 197 private: | 199 private: |
| 198 WebCore::Settings* m_settings; | 200 WebCore::Settings* m_settings; |
| 199 bool m_showFPSCounter; | 201 bool m_showFPSCounter; |
| 200 bool m_showPaintRects; | 202 bool m_showPaintRects; |
| 201 bool m_renderVSyncNotificationEnabled; | 203 bool m_renderVSyncNotificationEnabled; |
| 202 bool m_gestureTapHighlightEnabled; | 204 bool m_gestureTapHighlightEnabled; |
| 203 bool m_autoZoomFocusedNodeToLegibleScale; | 205 bool m_autoZoomFocusedNodeToLegibleScale; |
| 204 bool m_deferredImageDecodingEnabled; | 206 bool m_deferredImageDecodingEnabled; |
| 205 bool m_doubleTapToZoomEnabled; | 207 bool m_doubleTapToZoomEnabled; |
| 206 bool m_perTilePaintingEnabled; | 208 bool m_perTilePaintingEnabled; |
| 207 bool m_supportDeprecatedTargetDensityDPI; | 209 bool m_supportDeprecatedTargetDensityDPI; |
| 208 // This quirk is to maintain compatibility with Android apps built on | 210 // This quirk is to maintain compatibility with Android apps built on |
| 209 // the Android SDK prior to and including version 18. Presumably, this | 211 // the Android SDK prior to and including version 18. Presumably, this |
| 210 // can be removed any time after 2015. See http://crbug.com/277369. | 212 // can be removed any time after 2015. See http://crbug.com/277369. |
| 211 bool m_viewportMetaLayoutSizeQuirk; | 213 bool m_viewportMetaLayoutSizeQuirk; |
| 214 // This quirk is to maintain compatibility with Android apps built on |
| 215 // the Android SDK prior to and including version 18. Presumably, this |
| 216 // can be removed any time after 2015. See http://crbug.com/313754. |
| 217 bool m_clobberUserAgentInitialScaleQuirk; |
| 212 int m_pinchOverlayScrollbarThickness; | 218 int m_pinchOverlayScrollbarThickness; |
| 213 }; | 219 }; |
| 214 | 220 |
| 215 } // namespace WebKit | 221 } // namespace WebKit |
| 216 | 222 |
| 217 #endif | 223 #endif |
| OLD | NEW |