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