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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 // Groups all out-of-process iframes to a different process from the process of | 232 // Groups all out-of-process iframes to a different process from the process of |
233 // the top document. This is a performance isolation mode. Launch bug: | 233 // the top document. This is a performance isolation mode. Launch bug: |
234 // https://crbug.com/595987. | 234 // https://crbug.com/595987. |
235 const base::Feature kTopDocumentIsolation{"top-document-isolation", | 235 const base::Feature kTopDocumentIsolation{"top-document-isolation", |
236 base::FEATURE_DISABLED_BY_DEFAULT}; | 236 base::FEATURE_DISABLED_BY_DEFAULT}; |
237 | 237 |
238 // Enables touchpad and wheel scroll latching. | 238 // Enables touchpad and wheel scroll latching. |
239 const base::Feature kTouchpadAndWheelScrollLatching{ | 239 const base::Feature kTouchpadAndWheelScrollLatching{ |
240 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; | 240 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; |
241 | 241 |
| 242 // All Feature Policy to gate the use of permission features like midi, |
| 243 // geolocation, camera, microphone, etc. |
| 244 const base::Feature kUseFeaturePolicyForPermissions{ |
| 245 "UseFeaturePolicyForPermissions", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 246 |
242 // Controls whether vibrate requires user gesture. | 247 // Controls whether vibrate requires user gesture. |
243 const base::Feature kVibrateRequiresUserGesture{ | 248 const base::Feature kVibrateRequiresUserGesture{ |
244 "VibrateRequiresUserGesture", base::FEATURE_ENABLED_BY_DEFAULT}; | 249 "VibrateRequiresUserGesture", base::FEATURE_ENABLED_BY_DEFAULT}; |
245 | 250 |
246 // Enables VR UI. | 251 // Enables VR UI. |
247 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT}; | 252 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT}; |
248 | 253 |
249 // Enable WebAssembly structured cloning. | 254 // Enable WebAssembly structured cloning. |
250 // http://webassembly.org/ | 255 // http://webassembly.org/ |
251 const base::Feature kWebAssembly{"WebAssembly", | 256 const base::Feature kWebAssembly{"WebAssembly", |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 #endif | 334 #endif |
330 | 335 |
331 #if defined(OS_WIN) | 336 #if defined(OS_WIN) |
332 // Emergency "off switch" for new Windows sandbox security mitigation, | 337 // Emergency "off switch" for new Windows sandbox security mitigation, |
333 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 338 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
334 const base::Feature kWinSboxDisableExtensionPoints{ | 339 const base::Feature kWinSboxDisableExtensionPoints{ |
335 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 340 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
336 #endif | 341 #endif |
337 | 342 |
338 } // namespace features | 343 } // namespace features |
OLD | NEW |