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

Unified Diff: chrome/browser/flag_descriptions.cc

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: reformat 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
« no previous file with comments | « chrome/browser/flag_descriptions.h ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/flag_descriptions.cc
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 7ebc199b9a1bef44b28e2d68895ed390fd5c05f3..4468caa70dd8e04a0660a2d6e39ac0e7ca62c793 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[] =
+ "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.";
« no previous file with comments | « chrome/browser/flag_descriptions.h ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698