| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 virtual void setWideViewportQuirkEnabled(bool) override; | 181 virtual void setWideViewportQuirkEnabled(bool) override; |
| 182 virtual void setXSSAuditorEnabled(bool) override; | 182 virtual void setXSSAuditorEnabled(bool) override; |
| 183 | 183 |
| 184 bool showFPSCounter() const { return m_showFPSCounter; } | 184 bool showFPSCounter() const { return m_showFPSCounter; } |
| 185 bool showPaintRects() const { return m_showPaintRects; } | 185 bool showPaintRects() const { return m_showPaintRects; } |
| 186 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } | 186 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } |
| 187 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } | 187 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } |
| 188 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } | 188 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } |
| 189 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 189 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
| 190 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 190 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
| 191 bool viewportMetaEnabled() const; |
| 191 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } | 192 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } |
| 192 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } | 193 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser
ScalableQuirk; } |
| 193 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn
itialScaleQuirk; } | 194 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn
itialScaleQuirk; } |
| 194 | 195 |
| 195 void setMockGestureTapHighlightsEnabled(bool); | 196 void setMockGestureTapHighlightsEnabled(bool); |
| 196 bool mockGestureTapHighlightsEnabled() const; | 197 bool mockGestureTapHighlightsEnabled() const; |
| 197 | 198 |
| 198 private: | 199 private: |
| 199 Settings* m_settings; | 200 Settings* m_settings; |
| 200 InspectorController* m_inspectorController; | 201 InspectorController* m_inspectorController; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 218 // This quirk is to maintain compatibility with Android apps built on | 219 // This quirk is to maintain compatibility with Android apps built on |
| 219 // the Android SDK prior to and including version 18. Presumably, this | 220 // the Android SDK prior to and including version 18. Presumably, this |
| 220 // can be removed any time after 2015. See http://crbug.com/313754. | 221 // can be removed any time after 2015. See http://crbug.com/313754. |
| 221 bool m_clobberUserAgentInitialScaleQuirk; | 222 bool m_clobberUserAgentInitialScaleQuirk; |
| 222 bool m_mainFrameResizesAreOrientationChanges; | 223 bool m_mainFrameResizesAreOrientationChanges; |
| 223 }; | 224 }; |
| 224 | 225 |
| 225 } // namespace blink | 226 } // namespace blink |
| 226 | 227 |
| 227 #endif | 228 #endif |
| OLD | NEW |