| OLD | NEW |
| 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 | 231 |
| 232 // Enables touchpad and wheel scroll latching. | 232 // Enables touchpad and wheel scroll latching. |
| 233 const base::Feature kTouchpadAndWheelScrollLatching{ | 233 const base::Feature kTouchpadAndWheelScrollLatching{ |
| 234 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; | 234 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 235 | 235 |
| 236 // Controls whether vibrate requires user gesture. | 236 // Controls whether vibrate requires user gesture. |
| 237 const base::Feature kVibrateRequiresUserGesture{ | 237 const base::Feature kVibrateRequiresUserGesture{ |
| 238 "VibrateRequiresUserGesture", base::FEATURE_ENABLED_BY_DEFAULT}; | 238 "VibrateRequiresUserGesture", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 239 | 239 |
| 240 // Enables VR UI. | 240 // Enables VR UI. |
| 241 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT}; | 241 const base::Feature kVrShell { |
| 242 "VrShell", |
| 243 #if defined(OS_ANDROID) |
| 244 base::FEATURE_ENABLED_BY_DEFAULT |
| 245 #else |
| 246 base::FEATURE_DISABLED_BY_DEFAULT |
| 247 #endif |
| 248 }; |
| 242 | 249 |
| 243 // Enable WebAssembly structured cloning. | 250 // Enable WebAssembly structured cloning. |
| 244 // http://webassembly.org/ | 251 // http://webassembly.org/ |
| 245 const base::Feature kWebAssembly{"WebAssembly", | 252 const base::Feature kWebAssembly{"WebAssembly", |
| 246 base::FEATURE_DISABLED_BY_DEFAULT}; | 253 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 247 | 254 |
| 248 // Enable WebAssembly streamed compilation. | 255 // Enable WebAssembly streamed compilation. |
| 249 const base::Feature kWebAssemblyStreaming{"WebAssemblyStreaming", | 256 const base::Feature kWebAssemblyStreaming{"WebAssemblyStreaming", |
| 250 base::FEATURE_DISABLED_BY_DEFAULT}; | 257 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 251 | 258 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 #endif | 330 #endif |
| 324 | 331 |
| 325 #if defined(OS_WIN) | 332 #if defined(OS_WIN) |
| 326 // Emergency "off switch" for new Windows sandbox security mitigation, | 333 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 327 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 334 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 328 const base::Feature kWinSboxDisableExtensionPoints{ | 335 const base::Feature kWinSboxDisableExtensionPoints{ |
| 329 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 336 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 330 #endif | 337 #endif |
| 331 | 338 |
| 332 } // namespace features | 339 } // namespace features |
| OLD | NEW |