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

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

Issue 2028563002: Add a feature flag for enabling rendering pipeline throttling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 base::FEATURE_ENABLED_BY_DEFAULT}; 76 base::FEATURE_ENABLED_BY_DEFAULT};
77 77
78 // Paint optimizations including subsequence caching and empty phase skipping. 78 // Paint optimizations including subsequence caching and empty phase skipping.
79 const base::Feature kPaintOptimizations{"PaintOptimizations", 79 const base::Feature kPaintOptimizations{"PaintOptimizations",
80 base::FEATURE_ENABLED_BY_DEFAULT}; 80 base::FEATURE_ENABLED_BY_DEFAULT};
81 81
82 // Partial support for pointer event feature. 82 // Partial support for pointer event feature.
83 const base::Feature kPointerEvents{"PointerEvent", 83 const base::Feature kPointerEvents{"PointerEvent",
84 base::FEATURE_DISABLED_BY_DEFAULT}; 84 base::FEATURE_DISABLED_BY_DEFAULT};
85 85
86 // Throttle Blink's rendering pipeline based on frame visibility.
87 const base::Feature kRenderingPipelineThrottling{
88 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT};
89
86 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). 90 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring).
87 const base::Feature kScrollAnchoring{"ScrollAnchoring", 91 const base::Feature kScrollAnchoring{"ScrollAnchoring",
88 base::FEATURE_DISABLED_BY_DEFAULT}; 92 base::FEATURE_DISABLED_BY_DEFAULT};
89 93
90 // Enables implementation of the Cache-Control: stale-while-revalidate directive 94 // Enables implementation of the Cache-Control: stale-while-revalidate directive
91 // which permits servers to allow the use of stale resources while revalidation 95 // which permits servers to allow the use of stale resources while revalidation
92 // proceeds in the background. See http://crbug.com/348877 96 // proceeds in the background. See http://crbug.com/348877
93 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", 97 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2",
94 base::FEATURE_DISABLED_BY_DEFAULT}; 98 base::FEATURE_DISABLED_BY_DEFAULT};
95 99
(...skipping 20 matching lines...) Expand all
116 // we will not use replica editor and do a round trip to renderer to synchronize 120 // we will not use replica editor and do a round trip to renderer to synchronize
117 // with Blink data. 121 // with Blink data.
118 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; 122 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT};
119 123
120 // FeatureList definition for the Seccomp field trial. 124 // FeatureList definition for the Seccomp field trial.
121 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", 125 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid",
122 base::FEATURE_DISABLED_BY_DEFAULT}; 126 base::FEATURE_DISABLED_BY_DEFAULT};
123 #endif 127 #endif
124 128
125 } // namespace features 129 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698