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

Unified Diff: chrome/browser/flag_descriptions.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
« 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 cdf91c1ecee2a8e1ec194a888901f00b91277410..ea2273d7e834ecd1071d69c7bee5890b26eb8f1f 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -2446,6 +2446,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 "
+ "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