| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 virtual void setDOMPasteAllowed(bool) OVERRIDE; | 82 virtual void setDOMPasteAllowed(bool) OVERRIDE; |
| 83 virtual void setDefaultFixedFontSize(int) OVERRIDE; | 83 virtual void setDefaultFixedFontSize(int) OVERRIDE; |
| 84 virtual void setDefaultFontSize(int) OVERRIDE; | 84 virtual void setDefaultFontSize(int) OVERRIDE; |
| 85 virtual void setDefaultTextEncodingName(const WebString&) OVERRIDE; | 85 virtual void setDefaultTextEncodingName(const WebString&) OVERRIDE; |
| 86 virtual void setDefaultVideoPosterURL(const WebString&) OVERRIDE; | 86 virtual void setDefaultVideoPosterURL(const WebString&) OVERRIDE; |
| 87 virtual void setDeferredFiltersEnabled(bool) OVERRIDE; | 87 virtual void setDeferredFiltersEnabled(bool) OVERRIDE; |
| 88 virtual void setDeferredImageDecodingEnabled(bool) OVERRIDE; | 88 virtual void setDeferredImageDecodingEnabled(bool) OVERRIDE; |
| 89 virtual void setDeviceScaleAdjustment(float) OVERRIDE; | 89 virtual void setDeviceScaleAdjustment(float) OVERRIDE; |
| 90 virtual void setDeviceSupportsMouse(bool) OVERRIDE; | 90 virtual void setDeviceSupportsMouse(bool) OVERRIDE; |
| 91 virtual void setDeviceSupportsTouch(bool) OVERRIDE; | 91 virtual void setDeviceSupportsTouch(bool) OVERRIDE; |
| 92 virtual void setDisallowFullscreenForNonMediaElements(bool) OVERRIDE; |
| 92 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE; | 93 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE; |
| 93 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE; | 94 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE; |
| 94 virtual void setEditingBehavior(EditingBehavior) OVERRIDE; | 95 virtual void setEditingBehavior(EditingBehavior) OVERRIDE; |
| 95 virtual void setEnableScrollAnimator(bool) OVERRIDE; | 96 virtual void setEnableScrollAnimator(bool) OVERRIDE; |
| 96 virtual void setEnableTouchAdjustment(bool) OVERRIDE; | 97 virtual void setEnableTouchAdjustment(bool) OVERRIDE; |
| 97 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE; | 98 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE; |
| 98 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE; | 99 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE; |
| 99 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) OVERRIDE; | 100 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) OVERRIDE; |
| 100 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) OVERRIDE; | 101 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) OVERRIDE; |
| 101 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE; | 102 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 virtual void setWebAudioEnabled(bool) OVERRIDE; | 169 virtual void setWebAudioEnabled(bool) OVERRIDE; |
| 169 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; | 170 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; |
| 170 virtual void setWebSecurityEnabled(bool) OVERRIDE; | 171 virtual void setWebSecurityEnabled(bool) OVERRIDE; |
| 171 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; | 172 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; |
| 172 virtual void setXSSAuditorEnabled(bool) OVERRIDE; | 173 virtual void setXSSAuditorEnabled(bool) OVERRIDE; |
| 173 | 174 |
| 174 bool showFPSCounter() const { return m_showFPSCounter; } | 175 bool showFPSCounter() const { return m_showFPSCounter; } |
| 175 bool showPaintRects() const { return m_showPaintRects; } | 176 bool showPaintRects() const { return m_showPaintRects; } |
| 176 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } | 177 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } |
| 177 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } | 178 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } |
| 179 bool disallowFullscreenForNonMediaElements() const { return m_disallowFullsc
reenForNonMediaElements; } |
| 178 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } | 180 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } |
| 179 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 181 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
| 180 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 182 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
| 181 bool useExpandedHeuristicsForGpuRasterization() const { return m_useExpanded
HeuristicsForGpuRasterization; } | 183 bool useExpandedHeuristicsForGpuRasterization() const { return m_useExpanded
HeuristicsForGpuRasterization; } |
| 182 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } | 184 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } |
| 183 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } | 185 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } |
| 184 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn
itialScaleQuirk; } | 186 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn
itialScaleQuirk; } |
| 185 | 187 |
| 186 private: | 188 private: |
| 187 blink::Settings* m_settings; | 189 blink::Settings* m_settings; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 202 bool m_viewportMetaLayoutSizeQuirk; | 204 bool m_viewportMetaLayoutSizeQuirk; |
| 203 // This quirk is to maintain compatibility with Android apps built on | 205 // This quirk is to maintain compatibility with Android apps built on |
| 204 // the Android SDK prior to and including version 18. Presumably, this | 206 // the Android SDK prior to and including version 18. Presumably, this |
| 205 // can be removed any time after 2015. See http://crbug.com/312691. | 207 // can be removed any time after 2015. See http://crbug.com/312691. |
| 206 bool m_viewportMetaNonUserScalableQuirk; | 208 bool m_viewportMetaNonUserScalableQuirk; |
| 207 // This quirk is to maintain compatibility with Android apps built on | 209 // This quirk is to maintain compatibility with Android apps built on |
| 208 // the Android SDK prior to and including version 18. Presumably, this | 210 // the Android SDK prior to and including version 18. Presumably, this |
| 209 // 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. |
| 210 bool m_clobberUserAgentInitialScaleQuirk; | 212 bool m_clobberUserAgentInitialScaleQuirk; |
| 211 bool m_mainFrameResizesAreOrientationChanges; | 213 bool m_mainFrameResizesAreOrientationChanges; |
| 214 bool m_disallowFullscreenForNonMediaElements; |
| 212 }; | 215 }; |
| 213 | 216 |
| 214 } // namespace blink | 217 } // namespace blink |
| 215 | 218 |
| 216 #endif | 219 #endif |
| OLD | NEW |