Chromium Code Reviews

Unified Diff: chrome/browser/about_flags.cc

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: add missing change in runtime_fetures.cc Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« 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 cbccc4bf3871f9b6404545ae33b244de31a8cf0a..08d4661be1efd4ec5345ce003ad271069be73ef3 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2286,6 +2286,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