| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 virtual void setDisallowFullscreenForNonMediaElements(bool) OVERRIDE; | 93 virtual void setDisallowFullscreenForNonMediaElements(bool) OVERRIDE; |
| 94 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE; | 94 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE; |
| 95 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE; | 95 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE; |
| 96 virtual void setEditingBehavior(EditingBehavior) OVERRIDE; | 96 virtual void setEditingBehavior(EditingBehavior) OVERRIDE; |
| 97 virtual void setEnableScrollAnimator(bool) OVERRIDE; | 97 virtual void setEnableScrollAnimator(bool) OVERRIDE; |
| 98 virtual void setEnableTouchAdjustment(bool) OVERRIDE; | 98 virtual void setEnableTouchAdjustment(bool) OVERRIDE; |
| 99 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE; | 99 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE; |
| 100 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE; | 100 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE; |
| 101 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) OVERRIDE; | 101 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO
MMON) OVERRIDE; |
| 102 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) OVERRIDE; | 102 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM
ON) OVERRIDE; |
| 103 virtual void setGestureTapHighlightEnabled(bool) OVERRIDE; | |
| 104 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE; | 103 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE; |
| 105 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) OVERRIDE; | 104 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) OVERRIDE; |
| 106 virtual void setImagesEnabled(bool) OVERRIDE; | 105 virtual void setImagesEnabled(bool) OVERRIDE; |
| 107 virtual void setJavaEnabled(bool) OVERRIDE; | 106 virtual void setJavaEnabled(bool) OVERRIDE; |
| 108 virtual void setJavaScriptCanAccessClipboard(bool) OVERRIDE; | 107 virtual void setJavaScriptCanAccessClipboard(bool) OVERRIDE; |
| 109 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) OVERRIDE; | 108 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) OVERRIDE; |
| 110 virtual void setJavaScriptEnabled(bool) OVERRIDE; | 109 virtual void setJavaScriptEnabled(bool) OVERRIDE; |
| 111 virtual void setLayerSquashingEnabled(bool) OVERRIDE; | 110 virtual void setLayerSquashingEnabled(bool) OVERRIDE; |
| 112 virtual void setLoadsImagesAutomatically(bool) OVERRIDE; | 111 virtual void setLoadsImagesAutomatically(bool) OVERRIDE; |
| 113 virtual void setLoadWithOverviewMode(bool) OVERRIDE; | 112 virtual void setLoadWithOverviewMode(bool) OVERRIDE; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 virtual void setWebAudioEnabled(bool) OVERRIDE; | 171 virtual void setWebAudioEnabled(bool) OVERRIDE; |
| 173 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; | 172 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; |
| 174 virtual void setWebSecurityEnabled(bool) OVERRIDE; | 173 virtual void setWebSecurityEnabled(bool) OVERRIDE; |
| 175 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; | 174 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; |
| 176 virtual void setXSSAuditorEnabled(bool) OVERRIDE; | 175 virtual void setXSSAuditorEnabled(bool) OVERRIDE; |
| 177 | 176 |
| 178 bool showFPSCounter() const { return m_showFPSCounter; } | 177 bool showFPSCounter() const { return m_showFPSCounter; } |
| 179 bool showPaintRects() const { return m_showPaintRects; } | 178 bool showPaintRects() const { return m_showPaintRects; } |
| 180 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } | 179 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } |
| 181 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } | 180 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } |
| 182 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable
d; } | |
| 183 bool disallowFullscreenForNonMediaElements() const { return m_disallowFullsc
reenForNonMediaElements; } | 181 bool disallowFullscreenForNonMediaElements() const { return m_disallowFullsc
reenForNonMediaElements; } |
| 184 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } | 182 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } |
| 185 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 183 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
| 186 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 184 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
| 187 bool useExpandedHeuristicsForGpuRasterization() const { return m_useExpanded
HeuristicsForGpuRasterization; } | 185 bool useExpandedHeuristicsForGpuRasterization() const { return m_useExpanded
HeuristicsForGpuRasterization; } |
| 188 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } | 186 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } |
| 189 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } | 187 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } |
| 190 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn
itialScaleQuirk; } | 188 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn
itialScaleQuirk; } |
| 191 | 189 |
| 192 private: | 190 private: |
| 193 WebCore::Settings* m_settings; | 191 WebCore::Settings* m_settings; |
| 194 WebCore::InspectorController* m_inspectorController; | 192 WebCore::InspectorController* m_inspectorController; |
| 195 bool m_showFPSCounter; | 193 bool m_showFPSCounter; |
| 196 bool m_showPaintRects; | 194 bool m_showPaintRects; |
| 197 bool m_renderVSyncNotificationEnabled; | 195 bool m_renderVSyncNotificationEnabled; |
| 198 bool m_gestureTapHighlightEnabled; | |
| 199 bool m_autoZoomFocusedNodeToLegibleScale; | 196 bool m_autoZoomFocusedNodeToLegibleScale; |
| 200 bool m_deferredImageDecodingEnabled; | 197 bool m_deferredImageDecodingEnabled; |
| 201 bool m_doubleTapToZoomEnabled; | 198 bool m_doubleTapToZoomEnabled; |
| 202 bool m_perTilePaintingEnabled; | 199 bool m_perTilePaintingEnabled; |
| 203 bool m_supportDeprecatedTargetDensityDPI; | 200 bool m_supportDeprecatedTargetDensityDPI; |
| 204 bool m_shrinksViewportContentToFit; | 201 bool m_shrinksViewportContentToFit; |
| 205 bool m_useExpandedHeuristicsForGpuRasterization; | 202 bool m_useExpandedHeuristicsForGpuRasterization; |
| 206 // This quirk is to maintain compatibility with Android apps built on | 203 // This quirk is to maintain compatibility with Android apps built on |
| 207 // the Android SDK prior to and including version 18. Presumably, this | 204 // the Android SDK prior to and including version 18. Presumably, this |
| 208 // can be removed any time after 2015. See http://crbug.com/277369. | 205 // can be removed any time after 2015. See http://crbug.com/277369. |
| 209 bool m_viewportMetaLayoutSizeQuirk; | 206 bool m_viewportMetaLayoutSizeQuirk; |
| 210 // This quirk is to maintain compatibility with Android apps built on | 207 // This quirk is to maintain compatibility with Android apps built on |
| 211 // the Android SDK prior to and including version 18. Presumably, this | 208 // the Android SDK prior to and including version 18. Presumably, this |
| 212 // can be removed any time after 2015. See http://crbug.com/312691. | 209 // can be removed any time after 2015. See http://crbug.com/312691. |
| 213 bool m_viewportMetaNonUserScalableQuirk; | 210 bool m_viewportMetaNonUserScalableQuirk; |
| 214 // This quirk is to maintain compatibility with Android apps built on | 211 // This quirk is to maintain compatibility with Android apps built on |
| 215 // the Android SDK prior to and including version 18. Presumably, this | 212 // the Android SDK prior to and including version 18. Presumably, this |
| 216 // can be removed any time after 2015. See http://crbug.com/313754. | 213 // can be removed any time after 2015. See http://crbug.com/313754. |
| 217 bool m_clobberUserAgentInitialScaleQuirk; | 214 bool m_clobberUserAgentInitialScaleQuirk; |
| 218 bool m_mainFrameResizesAreOrientationChanges; | 215 bool m_mainFrameResizesAreOrientationChanges; |
| 219 bool m_disallowFullscreenForNonMediaElements; | 216 bool m_disallowFullscreenForNonMediaElements; |
| 220 }; | 217 }; |
| 221 | 218 |
| 222 } // namespace blink | 219 } // namespace blink |
| 223 | 220 |
| 224 #endif | 221 #endif |
| OLD | NEW |