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

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

Issue 2907263002: [Not for review] Add TRACE_EVENTs and chrome://flags for preconnect
Patch Set: Created 3 years, 6 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') | net/dns/dns_response.cc » ('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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 // Whether document level event listeners should default 'passive' to true. 161 // Whether document level event listeners should default 'passive' to true.
162 const base::Feature kPassiveDocumentEventListeners{ 162 const base::Feature kPassiveDocumentEventListeners{
163 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT}; 163 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT};
164 164
165 // Whether we should force a touchstart and first touchmove per scroll event 165 // Whether we should force a touchstart and first touchmove per scroll event
166 // listeners to be non-blocking during fling. 166 // listeners to be non-blocking during fling.
167 const base::Feature kPassiveEventListenersDueToFling{ 167 const base::Feature kPassiveEventListenersDueToFling{
168 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT}; 168 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT};
169 169
170 const base::Feature kPredictorPreconnect{"PredictorPreconnect",
171 base::FEATURE_ENABLED_BY_DEFAULT};
172
170 // Pointer events support. 173 // Pointer events support.
171 const base::Feature kPointerEvents{"PointerEvent", 174 const base::Feature kPointerEvents{"PointerEvent",
172 base::FEATURE_ENABLED_BY_DEFAULT}; 175 base::FEATURE_ENABLED_BY_DEFAULT};
173 176
174 // Enables Purge+Throttle on platforms except Android and MacOS. 177 // Enables Purge+Throttle on platforms except Android and MacOS.
175 // (Android) Purge+Throttle depends on TabManager, but TabManager doesn't 178 // (Android) Purge+Throttle depends on TabManager, but TabManager doesn't
176 // support Android. Enable after Android is supported. 179 // support Android. Enable after Android is supported.
177 // (MacOS X) Enable after Purge+Throttle handles memory pressure signals 180 // (MacOS X) Enable after Purge+Throttle handles memory pressure signals
178 // send by OS correctly. 181 // send by OS correctly.
179 const base::Feature kPurgeAndSuspend { 182 const base::Feature kPurgeAndSuspend {
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 #endif 353 #endif
351 354
352 #if defined(OS_WIN) 355 #if defined(OS_WIN)
353 // Emergency "off switch" for new Windows sandbox security mitigation, 356 // Emergency "off switch" for new Windows sandbox security mitigation,
354 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 357 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
355 const base::Feature kWinSboxDisableExtensionPoints{ 358 const base::Feature kWinSboxDisableExtensionPoints{
356 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 359 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
357 #endif 360 #endif
358 361
359 } // namespace features 362 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | net/dns/dns_response.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698