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

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

Issue 2053573002: Speculatively launch Service Workers on mouse/touch events. [5/5] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/evnets/events/ Created 4 years, 4 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 base::FEATURE_ENABLED_BY_DEFAULT}; 105 base::FEATURE_ENABLED_BY_DEFAULT};
106 106
107 // Throttle Blink's rendering pipeline based on frame visibility. 107 // Throttle Blink's rendering pipeline based on frame visibility.
108 const base::Feature kRenderingPipelineThrottling{ 108 const base::Feature kRenderingPipelineThrottling{
109 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; 109 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT};
110 110
111 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). 111 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring).
112 const base::Feature kScrollAnchoring{"ScrollAnchoring", 112 const base::Feature kScrollAnchoring{"ScrollAnchoring",
113 base::FEATURE_DISABLED_BY_DEFAULT}; 113 base::FEATURE_DISABLED_BY_DEFAULT};
114 114
115 // Speculatively launches Service Workers on mouse/touch events.
116 const base::Feature kSpeculativeLaunchServiceWorker{
117 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT};
118
115 // Enables implementation of the Cache-Control: stale-while-revalidate directive 119 // Enables implementation of the Cache-Control: stale-while-revalidate directive
116 // which permits servers to allow the use of stale resources while revalidation 120 // which permits servers to allow the use of stale resources while revalidation
117 // proceeds in the background. See http://crbug.com/348877 121 // proceeds in the background. See http://crbug.com/348877
118 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", 122 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2",
119 base::FEATURE_DISABLED_BY_DEFAULT}; 123 base::FEATURE_DISABLED_BY_DEFAULT};
120 124
121 // Enables token binding 125 // Enables token binding
122 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). 126 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
123 const base::Feature kTokenBinding{"token-binding", 127 const base::Feature kTokenBinding{"token-binding",
124 base::FEATURE_DISABLED_BY_DEFAULT}; 128 base::FEATURE_DISABLED_BY_DEFAULT};
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 #endif 171 #endif
168 172
169 #if defined(OS_WIN) 173 #if defined(OS_WIN)
170 // Emergency "off switch" for new Windows sandbox security mitigation, 174 // Emergency "off switch" for new Windows sandbox security mitigation,
171 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 175 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
172 const base::Feature kWinSboxDisableExtensionPoints{ 176 const base::Feature kWinSboxDisableExtensionPoints{
173 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 177 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
174 #endif 178 #endif
175 179
176 } // namespace features 180 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698