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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 146 |
147 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is | 147 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is |
148 // enabled. | 148 // enabled. |
149 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium", | 149 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium", |
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 // Navigation preload feature of service workers. |
| 157 // TODO(horo): Revise link when this lands in the spec: |
| 158 // https://github.com/w3c/ServiceWorker/pull/983/files |
| 159 const base::Feature kServiceWorkerNavigationPreload{ |
| 160 "ServiceWorkerNavigationPreload", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 161 |
156 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 162 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
157 const base::Feature kScrollAnchoring{"ScrollAnchoring", | 163 const base::Feature kScrollAnchoring{"ScrollAnchoring", |
158 base::FEATURE_DISABLED_BY_DEFAULT}; | 164 base::FEATURE_DISABLED_BY_DEFAULT}; |
159 | 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{ |
(...skipping 68 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 |