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

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

Issue 2301463002: Added runtime flag for Gamepad Extensions (Closed)
Patch Set: Corrected ID in histograms.xml Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 11965afe75dd2bbde88722202e8aa55314cf6a09..b8db3c80b45e4c04ae18680f0d3b33ae4bb23975 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -49,6 +49,10 @@ const base::Feature kFeaturePolicy{"FeaturePolicy",
const base::Feature kFontCacheScaling{"FontCacheScaling",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Enables extended Gamepad API features like motion tracking and haptics.
+const base::Feature kGamepadExtensions{"GamepadExtensions",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// Can main thread be pipelined with activation. Always disabled for devices
// with fewer than 4 cores irrespective of this flag. Can also be overridden by
// --enable(disable)-main-frame-before-activation command line flag.

Powered by Google App Engine
This is Rietveld 408576698