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

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

Issue 2289923002: Revert of Add PaintOptimizations feature to control subsequence caching and empty phase skipping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve conflicts Created 4 years, 3 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // An experiment to optimize resource loading IPC for small resources. 81 // An experiment to optimize resource loading IPC for small resources.
82 // http://crbug.com/580928 82 // http://crbug.com/580928
83 const base::Feature kOptimizeLoadingIPCForSmallResources{ 83 const base::Feature kOptimizeLoadingIPCForSmallResources{
84 "OptimizeLoadingIPCForSmallResources", 84 "OptimizeLoadingIPCForSmallResources",
85 base::FEATURE_DISABLED_BY_DEFAULT}; 85 base::FEATURE_DISABLED_BY_DEFAULT};
86 86
87 // Origin Trials for controlling access to feature/API experiments. 87 // Origin Trials for controlling access to feature/API experiments.
88 const base::Feature kOriginTrials{"OriginTrials", 88 const base::Feature kOriginTrials{"OriginTrials",
89 base::FEATURE_ENABLED_BY_DEFAULT}; 89 base::FEATURE_ENABLED_BY_DEFAULT};
90 90
91 // Paint optimizations including subsequence caching and empty phase skipping.
92 const base::Feature kPaintOptimizations{"PaintOptimizations",
93 base::FEATURE_ENABLED_BY_DEFAULT};
94
95 // Whether the lookahead parser in Blink runs on the main thread. 91 // Whether the lookahead parser in Blink runs on the main thread.
96 const base::Feature kParseHTMLOnMainThread{"ParseHTMLOnMainThread", 92 const base::Feature kParseHTMLOnMainThread{"ParseHTMLOnMainThread",
97 base::FEATURE_DISABLED_BY_DEFAULT}; 93 base::FEATURE_DISABLED_BY_DEFAULT};
98 94
99 // Whether document level event listeners should default 'passive' to true. 95 // Whether document level event listeners should default 'passive' to true.
100 const base::Feature kPassiveDocumentEventListeners{ 96 const base::Feature kPassiveDocumentEventListeners{
101 "PassiveDocumentEventListeners", base::FEATURE_DISABLED_BY_DEFAULT}; 97 "PassiveDocumentEventListeners", base::FEATURE_DISABLED_BY_DEFAULT};
102 98
103 // Whether we should force a touchstart and first touchmove per scroll event 99 // Whether we should force a touchstart and first touchmove per scroll event
104 // listeners to be 'passive' during fling. 100 // listeners to be 'passive' during fling.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 #endif 181 #endif
186 182
187 #if defined(OS_WIN) 183 #if defined(OS_WIN)
188 // Emergency "off switch" for new Windows sandbox security mitigation, 184 // Emergency "off switch" for new Windows sandbox security mitigation,
189 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 185 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
190 const base::Feature kWinSboxDisableExtensionPoints{ 186 const base::Feature kWinSboxDisableExtensionPoints{
191 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 187 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
192 #endif 188 #endif
193 189
194 } // namespace features 190 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698