| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // load an external script. The feature extracts the written markup and sends it | 54 // load an external script. The feature extracts the written markup and sends it |
| 55 // to the preload scanner. | 55 // to the preload scanner. |
| 56 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator", | 56 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator", |
| 57 base::FEATURE_DISABLED_BY_DEFAULT}; | 57 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 58 | 58 |
| 59 // Throttle tasks in Blink background timer queues based on CPU budgets | 59 // Throttle tasks in Blink background timer queues based on CPU budgets |
| 60 // for the background tab. Bug: https://crbug.com/639852. | 60 // for the background tab. Bug: https://crbug.com/639852. |
| 61 const base::Feature kExpensiveBackgroundTimerThrottling{ | 61 const base::Feature kExpensiveBackgroundTimerThrottling{ |
| 62 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT}; | 62 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 63 | 63 |
| 64 // Enables faster location.reload() to use a reload mode that revalidates only |
| 65 // main resource forcibly. https://crbug.com/670237. |
| 66 const base::Feature kFasterLocationReload{"FasterLocationReload", |
| 67 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 68 |
| 64 // Enables the Feature Policy framework for granting and removing access to | 69 // Enables the Feature Policy framework for granting and removing access to |
| 65 // other features through HTTP headers. | 70 // other features through HTTP headers. |
| 66 const base::Feature kFeaturePolicy{"FeaturePolicy", | 71 const base::Feature kFeaturePolicy{"FeaturePolicy", |
| 67 base::FEATURE_DISABLED_BY_DEFAULT}; | 72 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 68 | 73 |
| 69 // Enables a blink::FontCache optimization that reuses a font to serve different | 74 // Enables a blink::FontCache optimization that reuses a font to serve different |
| 70 // size of font. | 75 // size of font. |
| 71 const base::Feature kFontCacheScaling{"FontCacheScaling", | 76 const base::Feature kFontCacheScaling{"FontCacheScaling", |
| 72 base::FEATURE_DISABLED_BY_DEFAULT}; | 77 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 73 | 78 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 #endif // !defined(OS_ANDROID) | 271 #endif // !defined(OS_ANDROID) |
| 267 | 272 |
| 268 #if defined(OS_WIN) | 273 #if defined(OS_WIN) |
| 269 // Emergency "off switch" for new Windows sandbox security mitigation, | 274 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 270 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 275 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 271 const base::Feature kWinSboxDisableExtensionPoints{ | 276 const base::Feature kWinSboxDisableExtensionPoints{ |
| 272 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 277 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 273 #endif | 278 #endif |
| 274 | 279 |
| 275 } // namespace features | 280 } // namespace features |
| OLD | NEW |