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

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

Issue 2834493002: Remove vibrate w/o user gesture by default (Closed)
Patch Set: Change to turn on by default 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). 235 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
236 const base::Feature kTokenBinding{"token-binding", 236 const base::Feature kTokenBinding{"token-binding",
237 base::FEATURE_DISABLED_BY_DEFAULT}; 237 base::FEATURE_DISABLED_BY_DEFAULT};
238 238
239 // Enables touchpad and wheel scroll latching. 239 // Enables touchpad and wheel scroll latching.
240 const base::Feature kTouchpadAndWheelScrollLatching{ 240 const base::Feature kTouchpadAndWheelScrollLatching{
241 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; 241 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT};
242 242
243 // Controls whether vibrate requires user gesture. 243 // Controls whether vibrate requires user gesture.
244 const base::Feature kVibrateRequiresUserGesture{ 244 const base::Feature kVibrateRequiresUserGesture{
245 "VibrateRequiresUserGesture", base::FEATURE_DISABLED_BY_DEFAULT}; 245 "VibrateRequiresUserGesture", base::FEATURE_ENABLED_BY_DEFAULT};
246 246
247 // Enables VR UI. 247 // Enables VR UI.
248 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT}; 248 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT};
249 249
250 // Enable WebAssembly structured cloning. 250 // Enable WebAssembly structured cloning.
251 // http://webassembly.org/ 251 // http://webassembly.org/
252 const base::Feature kWebAssembly{"WebAssembly", 252 const base::Feature kWebAssembly{"WebAssembly",
253 base::FEATURE_DISABLED_BY_DEFAULT}; 253 base::FEATURE_DISABLED_BY_DEFAULT};
254 254
255 // Enable WebAssembly streamed compilation. 255 // Enable WebAssembly streamed compilation.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 #endif // !defined(OS_ANDROID) 338 #endif // !defined(OS_ANDROID)
339 339
340 #if defined(OS_WIN) 340 #if defined(OS_WIN)
341 // Emergency "off switch" for new Windows sandbox security mitigation, 341 // Emergency "off switch" for new Windows sandbox security mitigation,
342 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 342 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
343 const base::Feature kWinSboxDisableExtensionPoints{ 343 const base::Feature kWinSboxDisableExtensionPoints{
344 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 344 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
345 #endif 345 #endif
346 346
347 } // namespace features 347 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/vibration/resources/vibrate-in-same-origin-iframe-with-user-gesture-allowed.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698