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

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

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: skip mojo test for vibrate with feature policy 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 // Enables token binding 220 // Enables token binding
221 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). 221 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
222 const base::Feature kTokenBinding{"token-binding", 222 const base::Feature kTokenBinding{"token-binding",
223 base::FEATURE_DISABLED_BY_DEFAULT}; 223 base::FEATURE_DISABLED_BY_DEFAULT};
224 224
225 // Enables touchpad and wheel scroll latching. 225 // Enables touchpad and wheel scroll latching.
226 const base::Feature kTouchpadAndWheelScrollLatching{ 226 const base::Feature kTouchpadAndWheelScrollLatching{
227 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; 227 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT};
228 228
229 // Controls whether vibrate requires user gesture.
230 const base::Feature kVibrateRequiresUserGesture{
231 "VibrateRequiresUserGesture", base::FEATURE_ENABLED_BY_DEFAULT};
ojan 2017/04/14 00:52:43 This isn't actually hooked up to the RuntimeEnable
binlu 2017/04/14 01:16:35 Done. It's weird that the change was there before
232
229 // Enables VR UI. 233 // Enables VR UI.
230 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT}; 234 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT};
231 235
232 // Enable WebAssembly. 236 // Enable WebAssembly.
233 // http://webassembly.org/ 237 // http://webassembly.org/
234 const base::Feature kWebAssembly{"WebAssembly", 238 const base::Feature kWebAssembly{"WebAssembly",
235 base::FEATURE_DISABLED_BY_DEFAULT}; 239 base::FEATURE_DISABLED_BY_DEFAULT};
236 240
237 // If WebGL Image Chromium is allowed, this feature controls whether it is 241 // If WebGL Image Chromium is allowed, this feature controls whether it is
238 // enabled. 242 // enabled.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 #endif // !defined(OS_ANDROID) 314 #endif // !defined(OS_ANDROID)
311 315
312 #if defined(OS_WIN) 316 #if defined(OS_WIN)
313 // Emergency "off switch" for new Windows sandbox security mitigation, 317 // Emergency "off switch" for new Windows sandbox security mitigation,
314 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 318 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
315 const base::Feature kWinSboxDisableExtensionPoints{ 319 const base::Feature kWinSboxDisableExtensionPoints{
316 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 320 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
317 #endif 321 #endif
318 322
319 } // namespace features 323 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698