| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 void setV8CacheOptions(V8CacheOptions) override; | 184 void setV8CacheOptions(V8CacheOptions) override; |
| 185 void setValidationMessageTimerMagnification(int) override; | 185 void setValidationMessageTimerMagnification(int) override; |
| 186 void setViewportEnabled(bool) override; | 186 void setViewportEnabled(bool) override; |
| 187 void setViewportMetaEnabled(bool) override; | 187 void setViewportMetaEnabled(bool) override; |
| 188 void setViewportMetaLayoutSizeQuirk(bool) override; | 188 void setViewportMetaLayoutSizeQuirk(bool) override; |
| 189 void setViewportMetaMergeContentQuirk(bool) override; | 189 void setViewportMetaMergeContentQuirk(bool) override; |
| 190 void setViewportMetaNonUserScalableQuirk(bool) override; | 190 void setViewportMetaNonUserScalableQuirk(bool) override; |
| 191 void setViewportMetaZeroValuesQuirk(bool) override; | 191 void setViewportMetaZeroValuesQuirk(bool) override; |
| 192 void setWebGLErrorsToConsoleEnabled(bool) override; | 192 void setWebGLErrorsToConsoleEnabled(bool) override; |
| 193 void setWebSecurityEnabled(bool) override; | 193 void setWebSecurityEnabled(bool) override; |
| 194 void setWheelGesturesEnabled(bool) override; |
| 194 void setWideViewportQuirkEnabled(bool) override; | 195 void setWideViewportQuirkEnabled(bool) override; |
| 195 void setXSSAuditorEnabled(bool) override; | 196 void setXSSAuditorEnabled(bool) override; |
| 196 | 197 |
| 197 bool showFPSCounter() const { return m_showFPSCounter; } | 198 bool showFPSCounter() const { return m_showFPSCounter; } |
| 198 bool showPaintRects() const { return m_showPaintRects; } | 199 bool showPaintRects() const { return m_showPaintRects; } |
| 199 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } | 200 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } |
| 200 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } | 201 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } |
| 201 bool doubleTapToZoomEnabled() const; | 202 bool doubleTapToZoomEnabled() const; |
| 202 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 203 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
| 203 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 204 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
| 204 bool viewportMetaEnabled() const; | 205 bool viewportMetaEnabled() const; |
| 205 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } | 206 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } |
| 206 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } | 207 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } |
| 207 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn
itialScaleQuirk; } | 208 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn
itialScaleQuirk; } |
| 208 | 209 |
| 209 void setMockGestureTapHighlightsEnabled(bool); | 210 void setMockGestureTapHighlightsEnabled(bool); |
| 210 bool mockGestureTapHighlightsEnabled() const; | 211 bool mockGestureTapHighlightsEnabled() const; |
| 212 bool wheelGesturesEnabled() const; |
| 211 | 213 |
| 212 private: | 214 private: |
| 213 Settings* m_settings; | 215 Settings* m_settings; |
| 214 RawPtrWillBeUntracedMember<DevToolsEmulator> m_devToolsEmulator; | 216 RawPtrWillBeUntracedMember<DevToolsEmulator> m_devToolsEmulator; |
| 215 bool m_showFPSCounter; | 217 bool m_showFPSCounter; |
| 216 bool m_showPaintRects; | 218 bool m_showPaintRects; |
| 217 bool m_renderVSyncNotificationEnabled; | 219 bool m_renderVSyncNotificationEnabled; |
| 218 bool m_autoZoomFocusedNodeToLegibleScale; | 220 bool m_autoZoomFocusedNodeToLegibleScale; |
| 219 bool m_perTilePaintingEnabled; | 221 bool m_perTilePaintingEnabled; |
| 220 bool m_supportDeprecatedTargetDensityDPI; | 222 bool m_supportDeprecatedTargetDensityDPI; |
| 221 bool m_shrinksViewportContentToFit; | 223 bool m_shrinksViewportContentToFit; |
| 222 // This quirk is to maintain compatibility with Android apps built on | 224 // This quirk is to maintain compatibility with Android apps built on |
| 223 // the Android SDK prior to and including version 18. Presumably, this | 225 // the Android SDK prior to and including version 18. Presumably, this |
| 224 // can be removed any time after 2015. See http://crbug.com/277369. | 226 // can be removed any time after 2015. See http://crbug.com/277369. |
| 225 bool m_viewportMetaLayoutSizeQuirk; | 227 bool m_viewportMetaLayoutSizeQuirk; |
| 226 // This quirk is to maintain compatibility with Android apps built on | 228 // This quirk is to maintain compatibility with Android apps built on |
| 227 // the Android SDK prior to and including version 18. Presumably, this | 229 // the Android SDK prior to and including version 18. Presumably, this |
| 228 // can be removed any time after 2015. See http://crbug.com/312691. | 230 // can be removed any time after 2015. See http://crbug.com/312691. |
| 229 bool m_viewportMetaNonUserScalableQuirk; | 231 bool m_viewportMetaNonUserScalableQuirk; |
| 230 // This quirk is to maintain compatibility with Android apps built on | 232 // This quirk is to maintain compatibility with Android apps built on |
| 231 // the Android SDK prior to and including version 18. Presumably, this | 233 // the Android SDK prior to and including version 18. Presumably, this |
| 232 // can be removed any time after 2015. See http://crbug.com/313754. | 234 // can be removed any time after 2015. See http://crbug.com/313754. |
| 233 bool m_clobberUserAgentInitialScaleQuirk; | 235 bool m_clobberUserAgentInitialScaleQuirk; |
| 234 }; | 236 }; |
| 235 | 237 |
| 236 } // namespace blink | 238 } // namespace blink |
| 237 | 239 |
| 238 #endif | 240 #endif |
| OLD | NEW |