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

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

Issue 2135743002: Adds command line switch to disable resize lock (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 4383bb36f8b81e4ffbbc33573fb77825274cd94c..364dfb11bb31af0a55b3f02d28c808b4050b42af 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -425,6 +425,10 @@ const char kEnablePluginPlaceholderTesting[] =
// also applys to workers.
const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info";
+// Whether the resize lock is enabled. Default is true. This is generally only
+// useful for tests that want to force disabling.
+const char kEnableResizeLock[] = "enable-resize-lock";
+
// Enables RGBA_4444 textures.
const char kEnableRGBA4444Textures[] = "enable-rgba-4444-textures";

Powered by Google App Engine
This is Rietveld 408576698