Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: Source/web/WebSettingsImpl.h

Issue 1179223002: Implement autoplay gesture override experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 void setViewportMetaEnabled(bool) override; 185 void setViewportMetaEnabled(bool) override;
186 void setViewportMetaLayoutSizeQuirk(bool) override; 186 void setViewportMetaLayoutSizeQuirk(bool) override;
187 void setViewportMetaMergeContentQuirk(bool) override; 187 void setViewportMetaMergeContentQuirk(bool) override;
188 void setViewportMetaNonUserScalableQuirk(bool) override; 188 void setViewportMetaNonUserScalableQuirk(bool) override;
189 void setViewportMetaZeroValuesQuirk(bool) override; 189 void setViewportMetaZeroValuesQuirk(bool) override;
190 void setWebAudioEnabled(bool) override; 190 void setWebAudioEnabled(bool) override;
191 void setWebGLErrorsToConsoleEnabled(bool) override; 191 void setWebGLErrorsToConsoleEnabled(bool) override;
192 void setWebSecurityEnabled(bool) override; 192 void setWebSecurityEnabled(bool) override;
193 void setWideViewportQuirkEnabled(bool) override; 193 void setWideViewportQuirkEnabled(bool) override;
194 void setXSSAuditorEnabled(bool) override; 194 void setXSSAuditorEnabled(bool) override;
195 void setAutoplayExperimentMode(const WebString&) override;
195 196
196 bool showFPSCounter() const { return m_showFPSCounter; } 197 bool showFPSCounter() const { return m_showFPSCounter; }
197 bool showPaintRects() const { return m_showPaintRects; } 198 bool showPaintRects() const { return m_showPaintRects; }
198 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 199 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
199 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 200 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
200 bool doubleTapToZoomEnabled() const; 201 bool doubleTapToZoomEnabled() const;
201 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 202 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
202 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 203 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
203 bool viewportMetaEnabled() const; 204 bool viewportMetaEnabled() const;
204 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } 205 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; }
(...skipping 24 matching lines...) Expand all
229 // This quirk is to maintain compatibility with Android apps built on 230 // This quirk is to maintain compatibility with Android apps built on
230 // the Android SDK prior to and including version 18. Presumably, this 231 // the Android SDK prior to and including version 18. Presumably, this
231 // can be removed any time after 2015. See http://crbug.com/313754. 232 // can be removed any time after 2015. See http://crbug.com/313754.
232 bool m_clobberUserAgentInitialScaleQuirk; 233 bool m_clobberUserAgentInitialScaleQuirk;
233 bool m_mainFrameResizesAreOrientationChanges; 234 bool m_mainFrameResizesAreOrientationChanges;
234 }; 235 };
235 236
236 } // namespace blink 237 } // namespace blink
237 238
238 #endif 239 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698