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

Unified Diff: chrome/browser/flag_descriptions.cc

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: reformat again! 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 0421950a78030c40f8466a94982a4a26090ba4f5..6c92b83ac40770f3d697d52bd9c5dcc7c3cc1b2c 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -2487,6 +2487,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[] =
+ "Blocking the Vibration API if there has no user gesture received on "
mustaq 2017/04/13 14:28:34 Nit: s/Blocking/Block/
binlu 2017/04/13 15:11:11 Done.
+ "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