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

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

Issue 2778173002: Revert of "Speculatively launch Service Workers on mouse/touch events." (Closed)
Patch Set: rebase Created 3 years, 8 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; 190 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT};
191 191
192 // http://tc39.github.io/ecmascript_sharedmem/shmem.html 192 // http://tc39.github.io/ecmascript_sharedmem/shmem.html
193 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", 193 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer",
194 base::FEATURE_DISABLED_BY_DEFAULT}; 194 base::FEATURE_DISABLED_BY_DEFAULT};
195 195
196 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW 196 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW
197 const base::Feature kSlimmingPaintInvalidation{ 197 const base::Feature kSlimmingPaintInvalidation{
198 "SlimmingPaintInvalidation", base::FEATURE_DISABLED_BY_DEFAULT}; 198 "SlimmingPaintInvalidation", base::FEATURE_DISABLED_BY_DEFAULT};
199 199
200 // Speculatively launches Service Workers on mouse/touch events.
201 const base::Feature kSpeculativeLaunchServiceWorker{
202 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT};
203
204 // Throttle Blink timers in out-of-view cross origin frames. 200 // Throttle Blink timers in out-of-view cross origin frames.
205 const base::Feature kTimerThrottlingForHiddenFrames{ 201 const base::Feature kTimerThrottlingForHiddenFrames{
206 "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT}; 202 "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT};
207 203
208 // Enables token binding 204 // Enables token binding
209 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). 205 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
210 const base::Feature kTokenBinding{"token-binding", 206 const base::Feature kTokenBinding{"token-binding",
211 base::FEATURE_DISABLED_BY_DEFAULT}; 207 base::FEATURE_DISABLED_BY_DEFAULT};
212 208
213 // Enables touchpad and wheel scroll latching. 209 // Enables touchpad and wheel scroll latching.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 #endif // !defined(OS_ANDROID) 289 #endif // !defined(OS_ANDROID)
294 290
295 #if defined(OS_WIN) 291 #if defined(OS_WIN)
296 // Emergency "off switch" for new Windows sandbox security mitigation, 292 // Emergency "off switch" for new Windows sandbox security mitigation,
297 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 293 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
298 const base::Feature kWinSboxDisableExtensionPoints{ 294 const base::Feature kWinSboxDisableExtensionPoints{
299 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 295 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
300 #endif 296 #endif
301 297
302 } // namespace features 298 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/core/html/HTMLAnchorElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698