| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 base::FEATURE_ENABLED_BY_DEFAULT}; | 105 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 106 | 106 |
| 107 // Throttle Blink's rendering pipeline based on frame visibility. | 107 // Throttle Blink's rendering pipeline based on frame visibility. |
| 108 const base::Feature kRenderingPipelineThrottling{ | 108 const base::Feature kRenderingPipelineThrottling{ |
| 109 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; | 109 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 110 | 110 |
| 111 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 111 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
| 112 const base::Feature kScrollAnchoring{"ScrollAnchoring", | 112 const base::Feature kScrollAnchoring{"ScrollAnchoring", |
| 113 base::FEATURE_DISABLED_BY_DEFAULT}; | 113 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 114 | 114 |
| 115 // Speculatively launches Service Workers on mouse/touch events. |
| 116 const base::Feature kSpeculativeLaunchServiceWorker{ |
| 117 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 118 |
| 115 // Enables implementation of the Cache-Control: stale-while-revalidate directive | 119 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
| 116 // which permits servers to allow the use of stale resources while revalidation | 120 // which permits servers to allow the use of stale resources while revalidation |
| 117 // proceeds in the background. See http://crbug.com/348877 | 121 // proceeds in the background. See http://crbug.com/348877 |
| 118 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", | 122 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", |
| 119 base::FEATURE_DISABLED_BY_DEFAULT}; | 123 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 120 | 124 |
| 121 // Enables token binding | 125 // Enables token binding |
| 122 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). | 126 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). |
| 123 const base::Feature kTokenBinding{"token-binding", | 127 const base::Feature kTokenBinding{"token-binding", |
| 124 base::FEATURE_DISABLED_BY_DEFAULT}; | 128 base::FEATURE_DISABLED_BY_DEFAULT}; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 #endif | 171 #endif |
| 168 | 172 |
| 169 #if defined(OS_WIN) | 173 #if defined(OS_WIN) |
| 170 // Emergency "off switch" for new Windows sandbox security mitigation, | 174 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 171 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 175 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 172 const base::Feature kWinSboxDisableExtensionPoints{ | 176 const base::Feature kWinSboxDisableExtensionPoints{ |
| 173 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 177 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 174 #endif | 178 #endif |
| 175 | 179 |
| 176 } // namespace features | 180 } // namespace features |
| OLD | NEW |