| 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 13 matching lines...) Expand all Loading... |
| 24 base::FEATURE_DISABLED_BY_DEFAULT}; | 24 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 25 | 25 |
| 26 // If Canvas2D Image Chromium is allowed, this feature controls whether it is | 26 // If Canvas2D Image Chromium is allowed, this feature controls whether it is |
| 27 // enabled. | 27 // enabled. |
| 28 const base::Feature kCanvas2DImageChromium{"Canvas2DImageChromium", | 28 const base::Feature kCanvas2DImageChromium{"Canvas2DImageChromium", |
| 29 base::FEATURE_ENABLED_BY_DEFAULT}; | 29 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 30 | 30 |
| 31 // Enables the compositing of fixed position content that is opaque and can | 31 // Enables the compositing of fixed position content that is opaque and can |
| 32 // preserve LCD text. | 32 // preserve LCD text. |
| 33 const base::Feature kCompositeOpaqueFixedPosition{ | 33 const base::Feature kCompositeOpaqueFixedPosition{ |
| 34 "CompositeOpaqueFixedPosition", base::FEATURE_ENABLED_BY_DEFAULT}; | 34 "CompositeOpaqueFixedPosition", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 35 | 35 |
| 36 // Enables the compositing of scrolling content that supports painting the | 36 // Enables the compositing of scrolling content that supports painting the |
| 37 // background with the foreground, such that LCD text will still be enabled. | 37 // background with the foreground, such that LCD text will still be enabled. |
| 38 const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers", | 38 const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers", |
| 39 base::FEATURE_ENABLED_BY_DEFAULT}; | 39 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 40 | 40 |
| 41 // Enables the credential management API: | 41 // Enables the credential management API: |
| 42 // https://w3c.github.io/webappsec-credential-management/ | 42 // https://w3c.github.io/webappsec-credential-management/ |
| 43 const base::Feature kCredentialManagementAPI{"CredentialManagementAPI", | 43 const base::Feature kCredentialManagementAPI{"CredentialManagementAPI", |
| 44 base::FEATURE_ENABLED_BY_DEFAULT}; | 44 base::FEATURE_ENABLED_BY_DEFAULT}; |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 #endif // !defined(OS_ANDROID) | 275 #endif // !defined(OS_ANDROID) |
| 276 | 276 |
| 277 #if defined(OS_WIN) | 277 #if defined(OS_WIN) |
| 278 // Emergency "off switch" for new Windows sandbox security mitigation, | 278 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 279 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 279 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 280 const base::Feature kWinSboxDisableExtensionPoints{ | 280 const base::Feature kWinSboxDisableExtensionPoints{ |
| 281 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 281 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 282 #endif | 282 #endif |
| 283 | 283 |
| 284 } // namespace features | 284 } // namespace features |
| OLD | NEW |