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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 virtual void setViewportMetaLayoutSizeQuirk(bool) OVERRIDE; | 171 virtual void setViewportMetaLayoutSizeQuirk(bool) OVERRIDE; |
172 virtual void setViewportMetaMergeContentQuirk(bool) OVERRIDE; | 172 virtual void setViewportMetaMergeContentQuirk(bool) OVERRIDE; |
173 virtual void setViewportMetaNonUserScalableQuirk(bool) OVERRIDE; | 173 virtual void setViewportMetaNonUserScalableQuirk(bool) OVERRIDE; |
174 virtual void setViewportMetaZeroValuesQuirk(bool) OVERRIDE; | 174 virtual void setViewportMetaZeroValuesQuirk(bool) OVERRIDE; |
175 virtual void setWebAudioEnabled(bool) OVERRIDE; | 175 virtual void setWebAudioEnabled(bool) OVERRIDE; |
176 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; | 176 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; |
177 virtual void setWebSecurityEnabled(bool) OVERRIDE; | 177 virtual void setWebSecurityEnabled(bool) OVERRIDE; |
178 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; | 178 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; |
179 virtual void setXSSAuditorEnabled(bool) OVERRIDE; | 179 virtual void setXSSAuditorEnabled(bool) OVERRIDE; |
180 | 180 |
181 // FIXME: Make chromium stop calling this and delete the method. | |
182 virtual void setVisualWordMovementEnabled(bool) OVERRIDE { } | |
183 | |
184 bool showFPSCounter() const { return m_showFPSCounter; } | 181 bool showFPSCounter() const { return m_showFPSCounter; } |
185 bool showPaintRects() const { return m_showPaintRects; } | 182 bool showPaintRects() const { return m_showPaintRects; } |
186 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } | 183 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } |
187 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } | 184 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } |
188 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable
d; } | 185 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable
d; } |
189 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } | 186 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } |
190 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 187 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
191 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 188 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
192 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } | 189 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } |
193 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } | 190 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } |
(...skipping 23 matching lines...) Expand all Loading... |
217 // This quirk is to maintain compatibility with Android apps built on | 214 // This quirk is to maintain compatibility with Android apps built on |
218 // the Android SDK prior to and including version 18. Presumably, this | 215 // the Android SDK prior to and including version 18. Presumably, this |
219 // can be removed any time after 2015. See http://crbug.com/313754. | 216 // can be removed any time after 2015. See http://crbug.com/313754. |
220 bool m_clobberUserAgentInitialScaleQuirk; | 217 bool m_clobberUserAgentInitialScaleQuirk; |
221 bool m_mainFrameResizesAreOrientationChanges; | 218 bool m_mainFrameResizesAreOrientationChanges; |
222 }; | 219 }; |
223 | 220 |
224 } // namespace blink | 221 } // namespace blink |
225 | 222 |
226 #endif | 223 #endif |
OLD | NEW |