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

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

Issue 2023033003: scheduler: Throttle timers in out-of-view frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 3 months 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
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698