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

Unified Diff: chrome/browser/about_flags.cc

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: rebase 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/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 5f06bfc40ff4355131e0b1e012af0d35d230e99e..c1304eaded487902b56c1f34e9987a7fc7b10ce9 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2351,6 +2351,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') | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698