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

Side by Side Diff: content/public/common/content_features.cc

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: Move the flag name/description to const char* 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_features.h" 6 #include "content/public/common/content_features.h"
7 7
8 namespace features { 8 namespace features {
9 9
10 // All features in alphabetical order. 10 // All features in alphabetical order.
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 // Enables token binding 208 // Enables token binding
209 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). 209 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
210 const base::Feature kTokenBinding{"token-binding", 210 const base::Feature kTokenBinding{"token-binding",
211 base::FEATURE_DISABLED_BY_DEFAULT}; 211 base::FEATURE_DISABLED_BY_DEFAULT};
212 212
213 // Enables touchpad and wheel scroll latching. 213 // Enables touchpad and wheel scroll latching.
214 const base::Feature kTouchpadAndWheelScrollLatching{ 214 const base::Feature kTouchpadAndWheelScrollLatching{
215 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; 215 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT};
216 216
217 // Controls whether vibrate requires user gesture.
218 const base::Feature kVibrateRequiresUserGesture{
219 "VibrateRequiresUserGesture", base::FEATURE_DISABLED_BY_DEFAULT};
220
217 // Enables VR UI. 221 // Enables VR UI.
218 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT}; 222 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT};
219 223
220 // Enable WebAssembly. 224 // Enable WebAssembly.
221 // http://webassembly.org/ 225 // http://webassembly.org/
222 const base::Feature kWebAssembly{"WebAssembly", 226 const base::Feature kWebAssembly{"WebAssembly",
223 base::FEATURE_DISABLED_BY_DEFAULT}; 227 base::FEATURE_DISABLED_BY_DEFAULT};
224 228
225 // If WebGL Image Chromium is allowed, this feature controls whether it is 229 // If WebGL Image Chromium is allowed, this feature controls whether it is
226 // enabled. 230 // enabled.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 #endif // !defined(OS_ANDROID) 297 #endif // !defined(OS_ANDROID)
294 298
295 #if defined(OS_WIN) 299 #if defined(OS_WIN)
296 // Emergency "off switch" for new Windows sandbox security mitigation, 300 // Emergency "off switch" for new Windows sandbox security mitigation,
297 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 301 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
298 const base::Feature kWinSboxDisableExtensionPoints{ 302 const base::Feature kWinSboxDisableExtensionPoints{
299 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 303 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
300 #endif 304 #endif
301 305
302 } // namespace features 306 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698