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

Side by Side Diff: ui/gfx/switches.cc

Issue 2871893002: color: Ensure solid color IOSurface layers are sRGB (Closed)
Patch Set: Fix up deps Created 3 years, 7 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
« ui/gfx/mac/io_surface.cc ('K') | « ui/gfx/switches.h ('k') | no next file » | 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "ui/gfx/switches.h" 6 #include "ui/gfx/switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
11 // Disables DirectWrite font rendering for general UI elements. 11 // Disables DirectWrite font rendering for general UI elements.
12 const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui"; 12 const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui";
13 #endif 13 #endif
14 14
15 #if defined(OS_MACOSX) 15 #if defined(OS_MACOSX)
16 // Enables the HarfBuzz port of RenderText on Mac (it's already used only for 16 // Enables the HarfBuzz port of RenderText on Mac (it's already used only for
17 // text editing; this enables it for everything else). 17 // text editing; this enables it for everything else).
18 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext"; 18 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
19 #endif 19 #endif
20 20
21 // Run in headless mode, i.e., without a UI or display server dependencies. 21 // Run in headless mode, i.e., without a UI or display server dependencies.
22 const char kHeadless[] = "headless"; 22 const char kHeadless[] = "headless";
23 23
24 // Convert rasterization and compositing inputs to the output color space
25 // before operating on them.
26 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering";
27
24 } // namespace switches 28 } // namespace switches
OLDNEW
« ui/gfx/mac/io_surface.cc ('K') | « ui/gfx/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698