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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 setWebAudioEnabled(bool) override; | 192 void setWebAudioEnabled(bool) override; |
193 void setWebGLErrorsToConsoleEnabled(bool) override; | 193 void setWebGLErrorsToConsoleEnabled(bool) override; |
194 void setWebSecurityEnabled(bool) override; | 194 void setWebSecurityEnabled(bool) override; |
195 void setWideViewportQuirkEnabled(bool) override; | 195 void setWideViewportQuirkEnabled(bool) override; |
196 void setXSSAuditorEnabled(bool) override; | 196 void setXSSAuditorEnabled(bool) override; |
| 197 void setAutoplayExperimentMode(const WebString&) override; |
197 | 198 |
198 bool showFPSCounter() const { return m_showFPSCounter; } | 199 bool showFPSCounter() const { return m_showFPSCounter; } |
199 bool showPaintRects() const { return m_showPaintRects; } | 200 bool showPaintRects() const { return m_showPaintRects; } |
200 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } | 201 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } |
201 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } | 202 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } |
202 bool doubleTapToZoomEnabled() const; | 203 bool doubleTapToZoomEnabled() const; |
203 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 204 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
204 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 205 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
205 bool viewportMetaEnabled() const; | 206 bool viewportMetaEnabled() const; |
206 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } | 207 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } |
(...skipping 24 matching lines...) Expand all Loading... |
231 // This quirk is to maintain compatibility with Android apps built on | 232 // This quirk is to maintain compatibility with Android apps built on |
232 // the Android SDK prior to and including version 18. Presumably, this | 233 // the Android SDK prior to and including version 18. Presumably, this |
233 // 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. |
234 bool m_clobberUserAgentInitialScaleQuirk; | 235 bool m_clobberUserAgentInitialScaleQuirk; |
235 bool m_mainFrameResizesAreOrientationChanges; | 236 bool m_mainFrameResizesAreOrientationChanges; |
236 }; | 237 }; |
237 | 238 |
238 } // namespace blink | 239 } // namespace blink |
239 | 240 |
240 #endif | 241 #endif |
OLD | NEW |