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

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

Issue 2811063002: Enable ServiceWorkerNavigationPreload by default (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
« no previous file with comments | « content/child/runtime_features.cc ('k') | testing/variations/fieldtrial_testing_config.json » ('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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 195
196 // Throttle Blink's rendering pipeline based on frame visibility. 196 // Throttle Blink's rendering pipeline based on frame visibility.
197 const base::Feature kRenderingPipelineThrottling{ 197 const base::Feature kRenderingPipelineThrottling{
198 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; 198 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT};
199 199
200 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). 200 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring).
201 const base::Feature kScrollAnchoring{"ScrollAnchoring", 201 const base::Feature kScrollAnchoring{"ScrollAnchoring",
202 base::FEATURE_ENABLED_BY_DEFAULT}; 202 base::FEATURE_ENABLED_BY_DEFAULT};
203 203
204 // Navigation preload feature of service workers. 204 // Navigation preload feature of service workers.
205 // Enables this base::Feature by default for Origin-Trial, but enables the
206 // corresponding blink::WebRuntimeFeatures only when '--enable-features' command
207 // line flag is given. See the comments in runtime_features.cc and
208 // service_worker_version.h for the details.
209 const base::Feature kServiceWorkerNavigationPreload{ 205 const base::Feature kServiceWorkerNavigationPreload{
210 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; 206 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT};
211 207
212 // http://tc39.github.io/ecmascript_sharedmem/shmem.html 208 // http://tc39.github.io/ecmascript_sharedmem/shmem.html
213 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", 209 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer",
214 base::FEATURE_DISABLED_BY_DEFAULT}; 210 base::FEATURE_DISABLED_BY_DEFAULT};
215 211
216 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW 212 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW
217 const base::Feature kSlimmingPaintInvalidation{ 213 const base::Feature kSlimmingPaintInvalidation{
218 "SlimmingPaintInvalidation", base::FEATURE_ENABLED_BY_DEFAULT}; 214 "SlimmingPaintInvalidation", base::FEATURE_ENABLED_BY_DEFAULT};
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 #endif // !defined(OS_ANDROID) 310 #endif // !defined(OS_ANDROID)
315 311
316 #if defined(OS_WIN) 312 #if defined(OS_WIN)
317 // Emergency "off switch" for new Windows sandbox security mitigation, 313 // Emergency "off switch" for new Windows sandbox security mitigation,
318 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 314 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
319 const base::Feature kWinSboxDisableExtensionPoints{ 315 const base::Feature kWinSboxDisableExtensionPoints{
320 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 316 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
321 #endif 317 #endif
322 318
323 } // namespace features 319 } // namespace features
OLDNEW
« no previous file with comments | « content/child/runtime_features.cc ('k') | testing/variations/fieldtrial_testing_config.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698