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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 }; | 201 }; |
202 | 202 |
203 // Throttle Blink's rendering pipeline based on frame visibility. | 203 // Throttle Blink's rendering pipeline based on frame visibility. |
204 const base::Feature kRenderingPipelineThrottling{ | 204 const base::Feature kRenderingPipelineThrottling{ |
205 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; | 205 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; |
206 | 206 |
207 // Require camera/mic requests from pepper plugins to be made from secure | 207 // Require camera/mic requests from pepper plugins to be made from secure |
208 // origins. | 208 // origins. |
209 const base::Feature kRequireSecureOriginsForPepperMediaRequests{ | 209 const base::Feature kRequireSecureOriginsForPepperMediaRequests{ |
210 "RequireSecureOriginsForPepperMediaRequests", | 210 "RequireSecureOriginsForPepperMediaRequests", |
211 base::FEATURE_DISABLED_BY_DEFAULT}; | 211 base::FEATURE_ENABLED_BY_DEFAULT}; |
212 | 212 |
213 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 213 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
214 const base::Feature kScrollAnchoring{"ScrollAnchoring", | 214 const base::Feature kScrollAnchoring{"ScrollAnchoring", |
215 base::FEATURE_ENABLED_BY_DEFAULT}; | 215 base::FEATURE_ENABLED_BY_DEFAULT}; |
216 | 216 |
217 // Navigation preload feature of service workers. | 217 // Navigation preload feature of service workers. |
218 const base::Feature kServiceWorkerNavigationPreload{ | 218 const base::Feature kServiceWorkerNavigationPreload{ |
219 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; | 219 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; |
220 | 220 |
221 // http://tc39.github.io/ecmascript_sharedmem/shmem.html | 221 // http://tc39.github.io/ecmascript_sharedmem/shmem.html |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 #endif | 346 #endif |
347 | 347 |
348 #if defined(OS_WIN) | 348 #if defined(OS_WIN) |
349 // Emergency "off switch" for new Windows sandbox security mitigation, | 349 // Emergency "off switch" for new Windows sandbox security mitigation, |
350 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 350 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
351 const base::Feature kWinSboxDisableExtensionPoints{ | 351 const base::Feature kWinSboxDisableExtensionPoints{ |
352 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 352 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
353 #endif | 353 #endif |
354 | 354 |
355 } // namespace features | 355 } // namespace features |
OLD | NEW |