| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 // FeatureList definition for the Seccomp field trial. | 251 // FeatureList definition for the Seccomp field trial. |
| 252 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 252 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
| 253 base::FEATURE_DISABLED_BY_DEFAULT}; | 253 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 254 | 254 |
| 255 // The JavaScript API for payments on the web. | 255 // The JavaScript API for payments on the web. |
| 256 const base::Feature kWebPayments{"WebPayments", | 256 const base::Feature kWebPayments{"WebPayments", |
| 257 base::FEATURE_ENABLED_BY_DEFAULT}; | 257 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 258 | 258 |
| 259 #endif | 259 #endif |
| 260 | 260 |
| 261 #if !defined(OS_ANDROID) |
| 262 // Controls whether media playback in cross-origin iframes is enabled. The |
| 263 // feature overrides |kDisableGestureRequirementForMediaPlayback|. |
| 264 const base::Feature kCrossOriginMediaPlaybackRequiresUserGesture{ |
| 265 "CrossOriginMediaPlaybackRequiresUserGesture", |
| 266 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 267 #endif // !defined(OS_ANDROID) |
| 268 |
| 261 #if defined(OS_WIN) | 269 #if defined(OS_WIN) |
| 262 // Emergency "off switch" for new Windows sandbox security mitigation, | 270 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 263 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 271 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 264 const base::Feature kWinSboxDisableExtensionPoints{ | 272 const base::Feature kWinSboxDisableExtensionPoints{ |
| 265 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 273 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 266 #endif | 274 #endif |
| 267 | 275 |
| 268 } // namespace features | 276 } // namespace features |
| OLD | NEW |