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

Unified Diff: ui/gfx/color_space_switches.h

Issue 2945453002: color: Use base::Feature to control color correct rendering (Closed)
Patch Set: Make content shell only enable for layout tests (oops) 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
Index: ui/gfx/color_space_switches.h
diff --git a/ui/gfx/color_space_switches.h b/ui/gfx/color_space_switches.h
index 904eca32d876760979c7b66f1a5133fcd70b28e0..0af262b21f0f17909fcd12333d0e64b9ac796fdd 100644
--- a/ui/gfx/color_space_switches.h
+++ b/ui/gfx/color_space_switches.h
@@ -5,12 +5,17 @@
#ifndef UI_GFX_COLOR_SPACE_SWITCHES_H_
#define UI_GFX_COLOR_SPACE_SWITCHES_H_
+#include "base/feature_list.h"
#include "build/build_config.h"
#include "ui/gfx/switches_export.h"
-namespace switches {
+namespace features {
+
+GFX_SWITCHES_EXPORT extern const base::Feature kColorCorrectRendering;
-GFX_SWITCHES_EXPORT extern const char kEnableColorCorrectRendering[];
+} // namespace features
+
+namespace switches {
GFX_SWITCHES_EXPORT extern const char kForceColorProfile[];

Powered by Google App Engine
This is Rietveld 408576698