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

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

Issue 2912403003: Add a feature for not compositing small scrollers (Closed)
Patch Set: nit 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
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; 136 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT};
137 137
138 // Enables the memory coordinator. 138 // Enables the memory coordinator.
139 // WARNING: 139 // WARNING:
140 // The memory coordinator is not ready for use and enabling this may cause 140 // The memory coordinator is not ready for use and enabling this may cause
141 // unexpected memory regression at this point. Please do not enable this. 141 // unexpected memory regression at this point. Please do not enable this.
142 const base::Feature kMemoryCoordinator { 142 const base::Feature kMemoryCoordinator {
143 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT 143 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT
144 }; 144 };
145 145
146 // An experiment for not compositing small scrollers.
147 const base::Feature kNotCompositeSmallScroller{
148 "NotCompositeSmallScroller", base::FEATURE_DISABLED_BY_DEFAULT};
149
146 // Kill switch for Web Notification content images. 150 // Kill switch for Web Notification content images.
147 const base::Feature kNotificationContentImage{"NotificationContentImage", 151 const base::Feature kNotificationContentImage{"NotificationContentImage",
148 base::FEATURE_ENABLED_BY_DEFAULT}; 152 base::FEATURE_ENABLED_BY_DEFAULT};
149 // An experiment forcing events to be non-blocking when the main thread is 153 // An experiment forcing events to be non-blocking when the main thread is
150 // deemed unresponsive. See crbug.com/599609. 154 // deemed unresponsive. See crbug.com/599609.
151 const base::Feature kMainThreadBusyScrollIntervention{ 155 const base::Feature kMainThreadBusyScrollIntervention{
152 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; 156 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT};
153 157
154 // Blob mojofication. 158 // Blob mojofication.
155 const base::Feature kMojoBlobs("MojoBlobs", base::FEATURE_DISABLED_BY_DEFAULT); 159 const base::Feature kMojoBlobs("MojoBlobs", base::FEATURE_DISABLED_BY_DEFAULT);
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 #endif 367 #endif
364 368
365 #if defined(OS_WIN) 369 #if defined(OS_WIN)
366 // Emergency "off switch" for new Windows sandbox security mitigation, 370 // Emergency "off switch" for new Windows sandbox security mitigation,
367 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 371 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
368 const base::Feature kWinSboxDisableExtensionPoints{ 372 const base::Feature kWinSboxDisableExtensionPoints{
369 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 373 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
370 #endif 374 #endif
371 375
372 } // namespace features 376 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698