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

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

Issue 1988423002: Add PaintOptimizations feature to control subsequence caching and empty phase skipping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Original CL for landing Created 4 years, 7 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // An experiment to optimize resource loading IPC for small resources. 62 // An experiment to optimize resource loading IPC for small resources.
63 // http://crbug.com/580928 63 // http://crbug.com/580928
64 const base::Feature kOptimizeIPCForSmallResource{ 64 const base::Feature kOptimizeIPCForSmallResource{
65 "OptimizeForSmallResource", 65 "OptimizeForSmallResource",
66 base::FEATURE_DISABLED_BY_DEFAULT}; 66 base::FEATURE_DISABLED_BY_DEFAULT};
67 67
68 // Origin Trials for controlling access to feature/API experiments. 68 // Origin Trials for controlling access to feature/API experiments.
69 const base::Feature kOriginTrials{"OriginTrials", 69 const base::Feature kOriginTrials{"OriginTrials",
70 base::FEATURE_ENABLED_BY_DEFAULT}; 70 base::FEATURE_ENABLED_BY_DEFAULT};
71 71
72 // Paint optimizations including subsequence caching and empty phase skipping.
73 const base::Feature kPaintOptimizations{"PaintOptimizations",
74 base::FEATURE_ENABLED_BY_DEFAULT};
75
72 // Partial support for pointer event feature. 76 // Partial support for pointer event feature.
73 const base::Feature kPointerEvents{"PointerEvent", 77 const base::Feature kPointerEvents{"PointerEvent",
74 base::FEATURE_DISABLED_BY_DEFAULT}; 78 base::FEATURE_DISABLED_BY_DEFAULT};
75 79
76 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). 80 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring).
77 const base::Feature kScrollAnchoring{"ScrollAnchoring", 81 const base::Feature kScrollAnchoring{"ScrollAnchoring",
78 base::FEATURE_DISABLED_BY_DEFAULT}; 82 base::FEATURE_DISABLED_BY_DEFAULT};
79 83
80 // Enables implementation of the Cache-Control: stale-while-revalidate directive 84 // Enables implementation of the Cache-Control: stale-while-revalidate directive
81 // which permits servers to allow the use of stale resources while revalidation 85 // which permits servers to allow the use of stale resources while revalidation
(...skipping 24 matching lines...) Expand all
106 // we will not use replica editor and do a round trip to renderer to synchronize 110 // we will not use replica editor and do a round trip to renderer to synchronize
107 // with Blink data. 111 // with Blink data.
108 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; 112 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT};
109 113
110 // FeatureList definition for the Seccomp field trial. 114 // FeatureList definition for the Seccomp field trial.
111 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", 115 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid",
112 base::FEATURE_DISABLED_BY_DEFAULT}; 116 base::FEATURE_DISABLED_BY_DEFAULT};
113 #endif 117 #endif
114 118
115 } // namespace features 119 } // 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