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

Unified Diff: content/public/common/content_switches.cc

Issue 2543723002: Add switch to disable WebVR gesture requirement
Patch Set: Addressed ddorwin@'s naming comments Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 1668c5a7816c9fd57bad58df9277e38d3a04fefc..51bac28f655644e429c633a9d5996ba4bca694e7 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -304,6 +304,11 @@ const char kDisableWebGLImageChromium[] = "disable-webgl-image-chromium";
// Don't enforce the same-origin policy. (Used by people testing their sites.)
const char kDisableWebSecurity[] = "disable-web-security";
+// Disables WebVR's user gesture requirement in order to present so that
+// automated tests can be run in cases where we cannot mint gesture tokens
kinuko 2016/12/01 02:22:02 nit: finish the sentence with a period
+const char kDisableWebVrGestureRequirementForTests[] =
+ "disable-webvr-gesture-requirement-for-tests";
+
// Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS.
const char kDisableXSSAuditor[] = "disable-xss-auditor";

Powered by Google App Engine
This is Rietveld 408576698