| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 base::FEATURE_ENABLED_BY_DEFAULT}; | 129 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 130 | 130 |
| 131 // Throttle Blink's rendering pipeline based on frame visibility. | 131 // Throttle Blink's rendering pipeline based on frame visibility. |
| 132 const base::Feature kRenderingPipelineThrottling{ | 132 const base::Feature kRenderingPipelineThrottling{ |
| 133 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; | 133 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 134 | 134 |
| 135 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 135 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
| 136 const base::Feature kScrollAnchoring{"ScrollAnchoring", | 136 const base::Feature kScrollAnchoring{"ScrollAnchoring", |
| 137 base::FEATURE_DISABLED_BY_DEFAULT}; | 137 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 138 | 138 |
| 139 // Uses shared memory to communicate field trial (experiment) state. |
| 140 const base::Feature kShareFieldTrialStateViaSharedMemory{ |
| 141 "ShareFieldTrialStateViaSharedMemory", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 142 |
| 139 // Speculatively launches Service Workers on mouse/touch events. | 143 // Speculatively launches Service Workers on mouse/touch events. |
| 140 const base::Feature kSpeculativeLaunchServiceWorker{ | 144 const base::Feature kSpeculativeLaunchServiceWorker{ |
| 141 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; | 145 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 142 | 146 |
| 143 // Enables implementation of the Cache-Control: stale-while-revalidate directive | 147 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
| 144 // which permits servers to allow the use of stale resources while revalidation | 148 // which permits servers to allow the use of stale resources while revalidation |
| 145 // proceeds in the background. See http://crbug.com/348877 | 149 // proceeds in the background. See http://crbug.com/348877 |
| 146 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", | 150 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", |
| 147 base::FEATURE_DISABLED_BY_DEFAULT}; | 151 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 148 | 152 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 #endif | 203 #endif |
| 200 | 204 |
| 201 #if defined(OS_WIN) | 205 #if defined(OS_WIN) |
| 202 // Emergency "off switch" for new Windows sandbox security mitigation, | 206 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 203 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 207 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 204 const base::Feature kWinSboxDisableExtensionPoints{ | 208 const base::Feature kWinSboxDisableExtensionPoints{ |
| 205 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 209 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 206 #endif | 210 #endif |
| 207 | 211 |
| 208 } // namespace features | 212 } // namespace features |
| OLD | NEW |