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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 base::FEATURE_ENABLED_BY_DEFAULT | 197 base::FEATURE_ENABLED_BY_DEFAULT |
198 #else | 198 #else |
199 base::FEATURE_DISABLED_BY_DEFAULT | 199 base::FEATURE_DISABLED_BY_DEFAULT |
200 #endif | 200 #endif |
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 |
| 208 // origins. |
| 209 const base::Feature kRequireSecureOriginsForPepperMediaRequests{ |
| 210 "RequireSecureOriginsForPepperMediaRequests", |
| 211 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 212 |
207 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 213 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
208 const base::Feature kScrollAnchoring{"ScrollAnchoring", | 214 const base::Feature kScrollAnchoring{"ScrollAnchoring", |
209 base::FEATURE_ENABLED_BY_DEFAULT}; | 215 base::FEATURE_ENABLED_BY_DEFAULT}; |
210 | 216 |
211 // Navigation preload feature of service workers. | 217 // Navigation preload feature of service workers. |
212 const base::Feature kServiceWorkerNavigationPreload{ | 218 const base::Feature kServiceWorkerNavigationPreload{ |
213 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; | 219 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; |
214 | 220 |
215 // http://tc39.github.io/ecmascript_sharedmem/shmem.html | 221 // http://tc39.github.io/ecmascript_sharedmem/shmem.html |
216 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", | 222 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 #endif | 335 #endif |
330 | 336 |
331 #if defined(OS_WIN) | 337 #if defined(OS_WIN) |
332 // Emergency "off switch" for new Windows sandbox security mitigation, | 338 // Emergency "off switch" for new Windows sandbox security mitigation, |
333 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 339 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
334 const base::Feature kWinSboxDisableExtensionPoints{ | 340 const base::Feature kWinSboxDisableExtensionPoints{ |
335 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 341 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
336 #endif | 342 #endif |
337 | 343 |
338 } // namespace features | 344 } // namespace features |
OLD | NEW |