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

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: removed WebRuntimeFeatures.h whitespace-only change. Created 5 years, 5 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698