Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Side by Side Diff: content/public/common/content_features.cc

Issue 2511283002: Revert of scheduler: Re-enable timer throttling for hidden frames (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/raf-throttling-out-of-view-cross-origin-page.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; 192 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT};
193 193
194 // Enables implementation of the Cache-Control: stale-while-revalidate directive 194 // Enables implementation of the Cache-Control: stale-while-revalidate directive
195 // which permits servers to allow the use of stale resources while revalidation 195 // which permits servers to allow the use of stale resources while revalidation
196 // proceeds in the background. See http://crbug.com/348877 196 // proceeds in the background. See http://crbug.com/348877
197 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", 197 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2",
198 base::FEATURE_DISABLED_BY_DEFAULT}; 198 base::FEATURE_DISABLED_BY_DEFAULT};
199 199
200 // Throttle Blink timers in out-of-view cross origin frames. 200 // Throttle Blink timers in out-of-view cross origin frames.
201 const base::Feature kTimerThrottlingForHiddenFrames{ 201 const base::Feature kTimerThrottlingForHiddenFrames{
202 "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT}; 202 "TimerThrottlingForHiddenFrames", base::FEATURE_DISABLED_BY_DEFAULT};
203 203
204 // Enables token binding 204 // Enables token binding
205 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). 205 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
206 const base::Feature kTokenBinding{"token-binding", 206 const base::Feature kTokenBinding{"token-binding",
207 base::FEATURE_DISABLED_BY_DEFAULT}; 207 base::FEATURE_DISABLED_BY_DEFAULT};
208 208
209 // Enables touchpad and wheel scroll latching. 209 // Enables touchpad and wheel scroll latching.
210 const base::Feature kTouchpadAndWheelScrollLatching{ 210 const base::Feature kTouchpadAndWheelScrollLatching{
211 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; 211 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT};
212 212
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 #endif 259 #endif
260 260
261 #if defined(OS_WIN) 261 #if defined(OS_WIN)
262 // Emergency "off switch" for new Windows sandbox security mitigation, 262 // Emergency "off switch" for new Windows sandbox security mitigation,
263 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 263 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
264 const base::Feature kWinSboxDisableExtensionPoints{ 264 const base::Feature kWinSboxDisableExtensionPoints{
265 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 265 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
266 #endif 266 #endif
267 267
268 } // namespace features 268 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/raf-throttling-out-of-view-cross-origin-page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698