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

Unified Diff: content/public/common/content_switches.cc

Issue 898483004: Add --{enable,disable}-blink-features flags which set RuntimeEnabledFeatures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 5ae4367758474a7ee2b815b4a9cafd6a3e8d3d87..b59e5cd0f8d5ba822d2f0c1174145b84dfae1013 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -84,6 +84,12 @@ const char kDisableAcceleratedVideoDecode[] =
// users with many windows/tabs and lots of memory.
const char kDisableBackingStoreLimit[] = "disable-backing-store-limit";
+// Disable one or more Blink runtime-enabled features.
+// Use names from RuntimeEnabledFeatures.in, separated by commas.
+// Applied after kEnableBlinkFeatures, and after other flags that change these
+// features.
+const char kDisableBlinkFeatures[] = "disable-blink-features";
+
// Disable the Blink Scheduler. Ensures there's no reordering of blink tasks.
// This switch is intended only for performance tests.
const char kDisableBlinkScheduler[] = "disable-blink-scheduler";
@@ -285,6 +291,12 @@ const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling";
const char kEnablePreferCompositingToLCDText[] =
"enable-prefer-compositing-to-lcd-text";
+// Disable one or more Blink runtime-enabled features.
+// Use names from RuntimeEnabledFeatures.in, separated by commas.
+// Applied before kDisableBlinkFeatures, and after other flags that change these
+// features.
+const char kEnableBlinkFeatures[] = "enable-blink-features";
+
// PlzNavigate: Use the experimental browser-side navigation path.
const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation";
« content/child/runtime_features.cc ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698