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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« 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