| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/gfx/color_space_switches.h" | 5 #include "ui/gfx/color_space_switches.h" |
| 6 #include "build/build_config.h" | 6 #include "build/build_config.h" |
| 7 | 7 |
| 8 namespace features { |
| 9 |
| 10 const base::Feature kColorCorrectRendering{"ColorCorrectRendering", |
| 11 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 12 |
| 13 } // namespace features |
| 14 |
| 8 namespace switches { | 15 namespace switches { |
| 9 | 16 |
| 10 // Convert rasterization and compositing inputs to the output color space | |
| 11 // before operating on them. | |
| 12 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; | |
| 13 | |
| 14 // Force all monitors to be treated as though they have the specified color | 17 // Force all monitors to be treated as though they have the specified color |
| 15 // profile. Accepted values are "srgb" and "generic-rgb" (currently used by Mac | 18 // profile. Accepted values are "srgb" and "generic-rgb" (currently used by Mac |
| 16 // layout tests) and "color-spin-gamma24" (used by layout tests). | 19 // layout tests) and "color-spin-gamma24" (used by layout tests). |
| 17 const char kForceColorProfile[] = "force-color-profile"; | 20 const char kForceColorProfile[] = "force-color-profile"; |
| 18 | 21 |
| 19 } // namespace switches | 22 } // namespace switches |
| OLD | NEW |