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

Unified Diff: chrome/browser/about_flags.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 | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 8fed82549c57f7f4de2dca44846afe7b53ab8de1..ee3420326266238be76db3cba2e2fc7de6036d73 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1286,7 +1286,6 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(
features::kCrossOriginMediaPlaybackRequiresUserGesture)},
#endif // !defined(OS_ANDROID)
-
#if defined(OS_CHROMEOS)
{"enable-virtual-keyboard", flag_descriptions::kVirtualKeyboardName,
flag_descriptions::kVirtualKeyboardDescription, kOsCrOS,
@@ -2148,6 +2147,10 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kFramebustingName,
flag_descriptions::kFramebustingDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kFramebustingNeedsSameOriginOrUserGesture)},
+ {"vibrate-requires-user-gesture",
+ flag_descriptions::kVibrateRequiresUserGestureName,
+ flag_descriptions::kVibrateRequiresUserGestureDescription, kOsAll,
+ FEATURE_VALUE_TYPE(features::kVibrateRequiresUserGesture)},
{"web-payments", flag_descriptions::kWebPaymentsName,
flag_descriptions::kWebPaymentsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kWebPayments)},
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698