Chromium Code Reviews| 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 17 matching lines...) Expand all Loading... | |
| 28 // --force-gpu-rasterization or --disable-gpu-rasterization. | 28 // --force-gpu-rasterization or --disable-gpu-rasterization. |
| 29 const base::Feature kDefaultEnableGpuRasterization{ | 29 const base::Feature kDefaultEnableGpuRasterization{ |
| 30 "DefaultEnableGpuRasterization", base::FEATURE_DISABLED_BY_DEFAULT}; | 30 "DefaultEnableGpuRasterization", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 31 | 31 |
| 32 // Speculatively pre-evaluate Javascript which will likely use document.write to | 32 // Speculatively pre-evaluate Javascript which will likely use document.write to |
| 33 // load an external script. The feature extracts the written markup and sends it | 33 // load an external script. The feature extracts the written markup and sends it |
| 34 // to the preload scanner. | 34 // to the preload scanner. |
| 35 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator", | 35 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator", |
| 36 base::FEATURE_DISABLED_BY_DEFAULT}; | 36 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 37 | 37 |
| 38 // Throttle tasks in Blink background timer queues based on CPU budgets | |
| 39 // for the background tab. Bug: crbug.com/639852. | |
|
alex clarke (OOO till 29th)
2016/09/27 16:32:10
Maybe: See http://crbug.com/639852
altimin
2016/09/27 17:38:23
https :) Done.
| |
| 40 const base::Feature kExpensiveBackgroundTimerThrottling{ | |
| 41 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 42 | |
| 38 // Enables the Feature Policy framework for granting and removing access to | 43 // Enables the Feature Policy framework for granting and removing access to |
| 39 // other features through HTTP headers. | 44 // other features through HTTP headers. |
| 40 const base::Feature kFeaturePolicy{"FeaturePolicy", | 45 const base::Feature kFeaturePolicy{"FeaturePolicy", |
| 41 base::FEATURE_DISABLED_BY_DEFAULT}; | 46 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 42 | 47 |
| 43 // Enables a blink::FontCache optimization that reuses a font to serve different | 48 // Enables a blink::FontCache optimization that reuses a font to serve different |
| 44 // size of font. | 49 // size of font. |
| 45 const base::Feature kFontCacheScaling{"FontCacheScaling", | 50 const base::Feature kFontCacheScaling{"FontCacheScaling", |
| 46 base::FEATURE_DISABLED_BY_DEFAULT}; | 51 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 47 | 52 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 199 #endif | 204 #endif |
| 200 | 205 |
| 201 #if defined(OS_WIN) | 206 #if defined(OS_WIN) |
| 202 // Emergency "off switch" for new Windows sandbox security mitigation, | 207 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 203 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 208 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 204 const base::Feature kWinSboxDisableExtensionPoints{ | 209 const base::Feature kWinSboxDisableExtensionPoints{ |
| 205 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 210 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 206 #endif | 211 #endif |
| 207 | 212 |
| 208 } // namespace features | 213 } // namespace features |
| OLD | NEW |