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

Unified Diff: ui/gfx/switches.cc

Issue 2877093002: color: Add command line flag to force output color space (Closed)
Patch Set: Fix windows again Created 3 years, 7 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
« no previous file with comments | « ui/gfx/switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/switches.cc
diff --git a/ui/gfx/switches.cc b/ui/gfx/switches.cc
index 98c4cad5b7d19fadbc70847cec1cfead84c9428c..f991cd8c3d27839c39d0ff642ad46791b007e57e 100644
--- a/ui/gfx/switches.cc
+++ b/ui/gfx/switches.cc
@@ -25,4 +25,10 @@ const char kHeadless[] = "headless";
// before operating on them.
const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering";
+// Force all monitors to be treated as though they have the specified color
+// profile. Accepted values are "srgb" and "generic-rgb" (currently used by Mac
+// layout tests) and "bt2020-gamma18" (to be used by Mac layout tests in the
+// future).
+const char kForceColorProfile[] = "force-color-profile";
+
} // namespace switches
« no previous file with comments | « ui/gfx/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698