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

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

Issue 2468863002: scheduler: Re-enable timer throttling for hidden frames (Closed)
Patch Set: Rebased Created 4 years 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; 182 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT};
183 183
184 // Enables implementation of the Cache-Control: stale-while-revalidate directive 184 // Enables implementation of the Cache-Control: stale-while-revalidate directive
185 // which permits servers to allow the use of stale resources while revalidation 185 // which permits servers to allow the use of stale resources while revalidation
186 // proceeds in the background. See http://crbug.com/348877 186 // proceeds in the background. See http://crbug.com/348877
187 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", 187 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2",
188 base::FEATURE_DISABLED_BY_DEFAULT}; 188 base::FEATURE_DISABLED_BY_DEFAULT};
189 189
190 // Throttle Blink timers in out-of-view cross origin frames. 190 // Throttle Blink timers in out-of-view cross origin frames.
191 const base::Feature kTimerThrottlingForHiddenFrames{ 191 const base::Feature kTimerThrottlingForHiddenFrames{
192 "TimerThrottlingForHiddenFrames", base::FEATURE_DISABLED_BY_DEFAULT}; 192 "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT};
193 193
194 // Enables token binding 194 // Enables token binding
195 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). 195 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
196 const base::Feature kTokenBinding{"token-binding", 196 const base::Feature kTokenBinding{"token-binding",
197 base::FEATURE_DISABLED_BY_DEFAULT}; 197 base::FEATURE_DISABLED_BY_DEFAULT};
198 198
199 // Enables touchpad and wheel scroll latching. 199 // Enables touchpad and wheel scroll latching.
200 const base::Feature kTouchpadAndWheelScrollLatching{ 200 const base::Feature kTouchpadAndWheelScrollLatching{
201 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; 201 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT};
202 202
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 #endif // !defined(OS_ANDROID) 262 #endif // !defined(OS_ANDROID)
263 263
264 #if defined(OS_WIN) 264 #if defined(OS_WIN)
265 // Emergency "off switch" for new Windows sandbox security mitigation, 265 // Emergency "off switch" for new Windows sandbox security mitigation,
266 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 266 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
267 const base::Feature kWinSboxDisableExtensionPoints{ 267 const base::Feature kWinSboxDisableExtensionPoints{
268 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 268 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
269 #endif 269 #endif
270 270
271 } // namespace features 271 } // 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