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

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

Issue 2014183002: Add a feature flag for enabling rendering pipeline throttling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 base::FEATURE_ENABLED_BY_DEFAULT}; 81 base::FEATURE_ENABLED_BY_DEFAULT};
82 82
83 // Paint optimizations including subsequence caching and empty phase skipping. 83 // Paint optimizations including subsequence caching and empty phase skipping.
84 const base::Feature kPaintOptimizations{"PaintOptimizations", 84 const base::Feature kPaintOptimizations{"PaintOptimizations",
85 base::FEATURE_ENABLED_BY_DEFAULT}; 85 base::FEATURE_ENABLED_BY_DEFAULT};
86 86
87 // Partial support for pointer event feature. 87 // Partial support for pointer event feature.
88 const base::Feature kPointerEvents{"PointerEvent", 88 const base::Feature kPointerEvents{"PointerEvent",
89 base::FEATURE_DISABLED_BY_DEFAULT}; 89 base::FEATURE_DISABLED_BY_DEFAULT};
90 90
91 // Throttle Blink's rendering pipeline based on frame visibility.
92 const base::Feature kRenderingPipelineThrottling{
93 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT};
94
91 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). 95 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring).
92 const base::Feature kScrollAnchoring{"ScrollAnchoring", 96 const base::Feature kScrollAnchoring{"ScrollAnchoring",
93 base::FEATURE_DISABLED_BY_DEFAULT}; 97 base::FEATURE_DISABLED_BY_DEFAULT};
94 98
95 // Enables implementation of the Cache-Control: stale-while-revalidate directive 99 // Enables implementation of the Cache-Control: stale-while-revalidate directive
96 // which permits servers to allow the use of stale resources while revalidation 100 // which permits servers to allow the use of stale resources while revalidation
97 // proceeds in the background. See http://crbug.com/348877 101 // proceeds in the background. See http://crbug.com/348877
98 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", 102 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2",
99 base::FEATURE_DISABLED_BY_DEFAULT}; 103 base::FEATURE_DISABLED_BY_DEFAULT};
100 104
(...skipping 20 matching lines...) Expand all
121 // we will not use replica editor and do a round trip to renderer to synchronize 125 // we will not use replica editor and do a round trip to renderer to synchronize
122 // with Blink data. 126 // with Blink data.
123 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; 127 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT};
124 128
125 // FeatureList definition for the Seccomp field trial. 129 // FeatureList definition for the Seccomp field trial.
126 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", 130 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid",
127 base::FEATURE_DISABLED_BY_DEFAULT}; 131 base::FEATURE_DISABLED_BY_DEFAULT};
128 #endif 132 #endif
129 133
130 } // namespace features 134 } // 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