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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 base::FEATURE_ENABLED_BY_DEFAULT}; | 150 base::FEATURE_ENABLED_BY_DEFAULT}; |
151 | 151 |
152 // Throttle Blink's rendering pipeline based on frame visibility. | 152 // Throttle Blink's rendering pipeline based on frame visibility. |
153 const base::Feature kRenderingPipelineThrottling{ | 153 const base::Feature kRenderingPipelineThrottling{ |
154 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; | 154 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; |
155 | 155 |
156 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 156 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
157 const base::Feature kScrollAnchoring{"ScrollAnchoring", | 157 const base::Feature kScrollAnchoring{"ScrollAnchoring", |
158 base::FEATURE_DISABLED_BY_DEFAULT}; | 158 base::FEATURE_DISABLED_BY_DEFAULT}; |
159 | 159 |
| 160 // Navigation preload feature of service workers. |
| 161 // TODO(horo): Revise link when this lands in the spec: |
| 162 // https://github.com/w3c/ServiceWorker/pull/983/files |
| 163 const base::Feature kServiceWorkerNavigationPreload{ |
| 164 "ServiceWorkerNavigationPreload", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 165 |
160 // http://tc39.github.io/ecmascript_sharedmem/shmem.html | 166 // http://tc39.github.io/ecmascript_sharedmem/shmem.html |
161 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", | 167 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", |
162 base::FEATURE_DISABLED_BY_DEFAULT}; | 168 base::FEATURE_DISABLED_BY_DEFAULT}; |
163 | 169 |
164 // Speculatively launches Service Workers on mouse/touch events. | 170 // Speculatively launches Service Workers on mouse/touch events. |
165 const base::Feature kSpeculativeLaunchServiceWorker{ | 171 const base::Feature kSpeculativeLaunchServiceWorker{ |
166 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; | 172 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; |
167 | 173 |
168 // Enables implementation of the Cache-Control: stale-while-revalidate directive | 174 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
169 // which permits servers to allow the use of stale resources while revalidation | 175 // which permits servers to allow the use of stale resources while revalidation |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 #endif | 240 #endif |
235 | 241 |
236 #if defined(OS_WIN) | 242 #if defined(OS_WIN) |
237 // Emergency "off switch" for new Windows sandbox security mitigation, | 243 // Emergency "off switch" for new Windows sandbox security mitigation, |
238 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 244 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
239 const base::Feature kWinSboxDisableExtensionPoints{ | 245 const base::Feature kWinSboxDisableExtensionPoints{ |
240 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 246 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
241 #endif | 247 #endif |
242 | 248 |
243 } // namespace features | 249 } // namespace features |
OLD | NEW |