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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2475983002: Add FeatureList plumbing for the LazyParseCSS experiment (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/content_features.cc ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index aa9e322c5a371cd2417d778836e2e86c45b5d731..7210346101444dc13b417f037415aa209cc9d000 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -142,6 +142,10 @@ void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) {
RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable);
}
+void WebRuntimeFeatures::enableLazyParseCSS(bool enable) {
+ RuntimeEnabledFeatures::setLazyParseCSSEnabled(enable);
+}
+
void WebRuntimeFeatures::enableMediaCapture(bool enable) {
RuntimeEnabledFeatures::setMediaCaptureEnabled(enable);
}
« no previous file with comments | « content/public/common/content_features.cc ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698