| 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 // Enables browser side navigation (aka PlzNavigate). http://crbug.com/368813 | 34 // Enables browser side navigation (aka PlzNavigate). http://crbug.com/368813 |
| 35 const base::Feature kBrowserSideNavigation{"browser-side-navigation", | 35 const base::Feature kBrowserSideNavigation{"browser-side-navigation", |
| 36 base::FEATURE_DISABLED_BY_DEFAULT}; | 36 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 37 | 37 |
| 38 // If Canvas2D Image Chromium is allowed, this feature controls whether it is | 38 // If Canvas2D Image Chromium is allowed, this feature controls whether it is |
| 39 // enabled. | 39 // enabled. |
| 40 const base::Feature kCanvas2DImageChromium{"Canvas2DImageChromium", | 40 const base::Feature kCanvas2DImageChromium{"Canvas2DImageChromium", |
| 41 base::FEATURE_ENABLED_BY_DEFAULT}; | 41 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 42 | 42 |
| 43 // Enabled decoding images asynchronously from raster in the renderer |
| 44 // compositor. |
| 45 const base::Feature kCheckerImaging{"CheckerImaging", |
| 46 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 47 |
| 43 // Enables the compositing of fixed position content that is opaque and can | 48 // Enables the compositing of fixed position content that is opaque and can |
| 44 // preserve LCD text. | 49 // preserve LCD text. |
| 45 const base::Feature kCompositeOpaqueFixedPosition{ | 50 const base::Feature kCompositeOpaqueFixedPosition{ |
| 46 "CompositeOpaqueFixedPosition", base::FEATURE_DISABLED_BY_DEFAULT}; | 51 "CompositeOpaqueFixedPosition", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 47 | 52 |
| 48 // Enables the compositing of scrolling content that supports painting the | 53 // Enables the compositing of scrolling content that supports painting the |
| 49 // background with the foreground, such that LCD text will still be enabled. | 54 // background with the foreground, such that LCD text will still be enabled. |
| 50 const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers", | 55 const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers", |
| 51 base::FEATURE_ENABLED_BY_DEFAULT}; | 56 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 52 | 57 |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 #endif | 347 #endif |
| 343 | 348 |
| 344 #if defined(OS_WIN) | 349 #if defined(OS_WIN) |
| 345 // Emergency "off switch" for new Windows sandbox security mitigation, | 350 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 346 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 351 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 347 const base::Feature kWinSboxDisableExtensionPoints{ | 352 const base::Feature kWinSboxDisableExtensionPoints{ |
| 348 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 353 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 349 #endif | 354 #endif |
| 350 | 355 |
| 351 } // namespace features | 356 } // namespace features |
| OLD | NEW |