Index: chrome/browser/about_flags.cc |
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc |
index 844be218e43c59e6d711b8cd7126fb9a7eb9b8e2..ce02caa95f9fcef3e9d38c6f454663f765d91289 100644 |
--- a/chrome/browser/about_flags.cc |
+++ b/chrome/browser/about_flags.cc |
@@ -347,6 +347,13 @@ const FeatureEntry::Choice kEnableGpuRasterizationChoices[] = { |
switches::kForceGpuRasterization, ""}, |
}; |
+const FeatureEntry::Choice kColorCorrectRenderingChoices[] = { |
+ {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
+ {flags_ui::kGenericExperimentChoiceEnabled, |
+ cc::switches::kEnableColorCorrectRendering, ""}, |
+ {flags_ui::kGenericExperimentChoiceDisabled, "", ""}, |
+}; |
+ |
const FeatureEntry::Choice kEnableWebGL2Choices[] = { |
{flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
{flags_ui::kGenericExperimentChoiceEnabled, switches::kEnableES3APIs, ""}, |
@@ -2688,6 +2695,11 @@ const FeatureEntry kFeatureEntries[] = { |
FEATURE_VALUE_TYPE(features::kCopylessPaste)}, |
#endif |
+ {"enable-color-correct-rendering", |
+ flag_descriptions::kColorCorrectRenderingName, |
+ flag_descriptions::kColorCorrectRenderingDescription, kOsAll, |
+ MULTI_VALUE_TYPE(kColorCorrectRenderingChoices)}, |
+ |
// NOTE: Adding new command-line switches requires adding corresponding |
// entries to enum "LoginCustomFlags" in histograms.xml. See note in |
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. |