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

Unified Diff: ui/gfx/color_space_switches.cc

Issue 2945453002: color: Use base::Feature to control color correct rendering (Closed)
Patch Set: Add histogram enum Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/color_space_switches.h ('k') | ui/gfx/mac/io_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_space_switches.cc
diff --git a/ui/gfx/color_space_switches.cc b/ui/gfx/color_space_switches.cc
index 33295ee0a7f5ff3f710bb41441312c63b5d73f9d..31e7ca84959d4db53f70a9994c57b5f1223b93be 100644
--- a/ui/gfx/color_space_switches.cc
+++ b/ui/gfx/color_space_switches.cc
@@ -5,11 +5,14 @@
#include "ui/gfx/color_space_switches.h"
#include "build/build_config.h"
-namespace switches {
+namespace features {
+
+const base::Feature kColorCorrectRendering{"ColorCorrectRendering",
+ base::FEATURE_DISABLED_BY_DEFAULT};
-// Convert rasterization and compositing inputs to the output color space
-// before operating on them.
-const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering";
+} // namespace features
+
+namespace switches {
// 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
« no previous file with comments | « ui/gfx/color_space_switches.h ('k') | ui/gfx/mac/io_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698