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

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

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: Move the flag name/description to const char* Created 3 years, 9 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 3c53154fbb617fadd462716e2253118d358fbed4..622fd194cc253e99f802635633ab451655dbb29a 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -214,6 +214,10 @@ const base::Feature kTokenBinding{"token-binding",
const base::Feature kTouchpadAndWheelScrollLatching{
"TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT};
+// Controls whether vibrate requires user gesture.
+const base::Feature kVibrateRequiresUserGesture{
+ "VibrateRequiresUserGesture", base::FEATURE_DISABLED_BY_DEFAULT};
+
// Enables VR UI.
const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT};

Powered by Google App Engine
This is Rietveld 408576698