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

Unified Diff: chrome/browser/flag_descriptions.cc

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: rebase Created 3 years, 8 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: chrome/browser/flag_descriptions.cc
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index b10057ec082bc934b4674210ca6c12309858dc06..17a5fc4057712ebb9c9c4ee94e83e12ef7dcca7f 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -2513,6 +2513,13 @@ const char kFramebustingDescription[] =
"unless they are same-origin or the iframe is processing a user "
"gesture.";
+const char kVibrateRequiresUserGestureName[] =
+ "Requiring user gesture for the Vibration API";
+
+const char kVibrateRequiresUserGestureDescription[] =
+ "Block the Vibration API if no user gesture has been received on "
+ "the frame or any embedded frame.";
+
#if defined(OS_ANDROID)
const char kEnableVrShellName[] = "Enable Chrome VR.";

Powered by Google App Engine
This is Rietveld 408576698