| Index: ui/gfx/color_space_switches.cc
|
| diff --git a/ui/gfx/switches.cc b/ui/gfx/color_space_switches.cc
|
| similarity index 56%
|
| copy from ui/gfx/switches.cc
|
| copy to ui/gfx/color_space_switches.cc
|
| index 0219b5e1e01e51f8d341f3b9d4e5d10c56bc5f37..33295ee0a7f5ff3f710bb41441312c63b5d73f9d 100644
|
| --- a/ui/gfx/switches.cc
|
| +++ b/ui/gfx/color_space_switches.cc
|
| @@ -2,25 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "ui/gfx/color_space_switches.h"
|
| #include "build/build_config.h"
|
| -#include "ui/gfx/switches.h"
|
|
|
| namespace switches {
|
|
|
| -#if defined(OS_WIN)
|
| -// Disables DirectWrite font rendering for general UI elements.
|
| -const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui";
|
| -#endif
|
| -
|
| -#if defined(OS_MACOSX)
|
| -// Enables the HarfBuzz port of RenderText on Mac (it's already used only for
|
| -// text editing; this enables it for everything else).
|
| -const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
|
| -#endif
|
| -
|
| -// Run in headless mode, i.e., without a UI or display server dependencies.
|
| -const char kHeadless[] = "headless";
|
| -
|
| // Convert rasterization and compositing inputs to the output color space
|
| // before operating on them.
|
| const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering";
|
|
|