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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 // Speculatively launches Service Workers on mouse/touch events. | 125 // Speculatively launches Service Workers on mouse/touch events. |
126 const base::Feature kSpeculativeLaunchServiceWorker{ | 126 const base::Feature kSpeculativeLaunchServiceWorker{ |
127 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; | 127 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; |
128 | 128 |
129 // Enables implementation of the Cache-Control: stale-while-revalidate directive | 129 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
130 // which permits servers to allow the use of stale resources while revalidation | 130 // which permits servers to allow the use of stale resources while revalidation |
131 // proceeds in the background. See http://crbug.com/348877 | 131 // proceeds in the background. See http://crbug.com/348877 |
132 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", | 132 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", |
133 base::FEATURE_DISABLED_BY_DEFAULT}; | 133 base::FEATURE_DISABLED_BY_DEFAULT}; |
134 | 134 |
| 135 // Throttle Blink timers in out-of-view cross origin frames. |
| 136 const base::Feature kTimerThrottlingForHiddenFrames{ |
| 137 "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 138 |
135 // Enables token binding | 139 // Enables token binding |
136 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). | 140 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). |
137 const base::Feature kTokenBinding{"token-binding", | 141 const base::Feature kTokenBinding{"token-binding", |
138 base::FEATURE_DISABLED_BY_DEFAULT}; | 142 base::FEATURE_DISABLED_BY_DEFAULT}; |
139 | 143 |
140 // Enables touchpad and wheel scroll latching. | 144 // Enables touchpad and wheel scroll latching. |
141 const base::Feature kTouchpadAndWheelScrollLatching{ | 145 const base::Feature kTouchpadAndWheelScrollLatching{ |
142 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; | 146 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; |
143 | 147 |
144 // Weak MemoryCache (https://crbug.com/603462). | 148 // Weak MemoryCache (https://crbug.com/603462). |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 #endif | 189 #endif |
186 | 190 |
187 #if defined(OS_WIN) | 191 #if defined(OS_WIN) |
188 // Emergency "off switch" for new Windows sandbox security mitigation, | 192 // Emergency "off switch" for new Windows sandbox security mitigation, |
189 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 193 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
190 const base::Feature kWinSboxDisableExtensionPoints{ | 194 const base::Feature kWinSboxDisableExtensionPoints{ |
191 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 195 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
192 #endif | 196 #endif |
193 | 197 |
194 } // namespace features | 198 } // namespace features |
OLD | NEW |