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

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

Issue 2701753003: [WIP] off-main-thread loading
Patch Set: small fix 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/public/common/content_features.h ('k') | content/renderer/BUILD.gn » ('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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 }; 133 };
134 134
135 // Kill switch for Web Notification content images. 135 // Kill switch for Web Notification content images.
136 const base::Feature kNotificationContentImage{"NotificationContentImage", 136 const base::Feature kNotificationContentImage{"NotificationContentImage",
137 base::FEATURE_ENABLED_BY_DEFAULT}; 137 base::FEATURE_ENABLED_BY_DEFAULT};
138 // An experiment forcing events to be non-blocking when the main thread is 138 // An experiment forcing events to be non-blocking when the main thread is
139 // deemed unresponsive. See crbug.com/599609. 139 // deemed unresponsive. See crbug.com/599609.
140 const base::Feature kMainThreadBusyScrollIntervention{ 140 const base::Feature kMainThreadBusyScrollIntervention{
141 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; 141 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT};
142 142
143 // TODO(horo): This must be DISABLED_BY_DEFAULT for the production patch. We use
144 // DISABLED_BY_DEFAULT only for the POC patch.
145 const base::Feature kOffMainThreadFetch{"OffMainThreadFetch",
146 base::FEATURE_ENABLED_BY_DEFAULT};
147
143 // Origin Trials for controlling access to feature/API experiments. 148 // Origin Trials for controlling access to feature/API experiments.
144 const base::Feature kOriginTrials{"OriginTrials", 149 const base::Feature kOriginTrials{"OriginTrials",
145 base::FEATURE_ENABLED_BY_DEFAULT}; 150 base::FEATURE_ENABLED_BY_DEFAULT};
146 151
147 // Whether a download can be handled by parallel jobs. 152 // Whether a download can be handled by parallel jobs.
148 const base::Feature kParallelDownloading{ 153 const base::Feature kParallelDownloading{
149 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT}; 154 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT};
150 155
151 // Whether document level event listeners should default 'passive' to true. 156 // Whether document level event listeners should default 'passive' to true.
152 const base::Feature kPassiveDocumentEventListeners{ 157 const base::Feature kPassiveDocumentEventListeners{
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 #endif // !defined(OS_ANDROID) 320 #endif // !defined(OS_ANDROID)
316 321
317 #if defined(OS_WIN) 322 #if defined(OS_WIN)
318 // Emergency "off switch" for new Windows sandbox security mitigation, 323 // Emergency "off switch" for new Windows sandbox security mitigation,
319 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 324 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
320 const base::Feature kWinSboxDisableExtensionPoints{ 325 const base::Feature kWinSboxDisableExtensionPoints{
321 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 326 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
322 #endif 327 #endif
323 328
324 } // namespace features 329 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698