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 setViewportMetaEnabled(bool) override; | 184 void setViewportMetaEnabled(bool) override; |
185 void setViewportMetaLayoutSizeQuirk(bool) override; | 185 void setViewportMetaLayoutSizeQuirk(bool) override; |
186 void setViewportMetaMergeContentQuirk(bool) override; | 186 void setViewportMetaMergeContentQuirk(bool) override; |
187 void setViewportMetaNonUserScalableQuirk(bool) override; | 187 void setViewportMetaNonUserScalableQuirk(bool) override; |
188 void setViewportMetaZeroValuesQuirk(bool) override; | 188 void setViewportMetaZeroValuesQuirk(bool) override; |
189 void setWebAudioEnabled(bool) override; | 189 void setWebAudioEnabled(bool) override; |
190 void setWebGLErrorsToConsoleEnabled(bool) override; | 190 void setWebGLErrorsToConsoleEnabled(bool) override; |
191 void setWebSecurityEnabled(bool) override; | 191 void setWebSecurityEnabled(bool) override; |
192 void setWideViewportQuirkEnabled(bool) override; | 192 void setWideViewportQuirkEnabled(bool) override; |
193 void setXSSAuditorEnabled(bool) override; | 193 void setXSSAuditorEnabled(bool) override; |
| 194 void setAutoplayExperimentMode(const WebString&) override; |
194 | 195 |
195 bool showFPSCounter() const { return m_showFPSCounter; } | 196 bool showFPSCounter() const { return m_showFPSCounter; } |
196 bool showPaintRects() const { return m_showPaintRects; } | 197 bool showPaintRects() const { return m_showPaintRects; } |
197 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } | 198 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati
onEnabled; } |
198 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } | 199 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod
eToLegibleScale; } |
199 bool doubleTapToZoomEnabled() const; | 200 bool doubleTapToZoomEnabled() const; |
200 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 201 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
201 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } | 202 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT
argetDensityDPI; } |
202 bool viewportMetaEnabled() const; | 203 bool viewportMetaEnabled() const; |
203 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } | 204 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu
irk; } |
(...skipping 24 matching lines...) Expand all Loading... |
228 // This quirk is to maintain compatibility with Android apps built on | 229 // This quirk is to maintain compatibility with Android apps built on |
229 // the Android SDK prior to and including version 18. Presumably, this | 230 // the Android SDK prior to and including version 18. Presumably, this |
230 // can be removed any time after 2015. See http://crbug.com/313754. | 231 // can be removed any time after 2015. See http://crbug.com/313754. |
231 bool m_clobberUserAgentInitialScaleQuirk; | 232 bool m_clobberUserAgentInitialScaleQuirk; |
232 bool m_mainFrameResizesAreOrientationChanges; | 233 bool m_mainFrameResizesAreOrientationChanges; |
233 }; | 234 }; |
234 | 235 |
235 } // namespace blink | 236 } // namespace blink |
236 | 237 |
237 #endif | 238 #endif |
OLD | NEW |