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

Unified Diff: ui/gfx/color_space_switches.cc

Issue 2915673003: ui/gfx: Use separate components for color_space and switches (Closed)
Patch Set: Review feedback 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/color_space_switches.h ('k') | ui/gfx/color_space_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
« no previous file with comments | « ui/gfx/color_space_switches.h ('k') | ui/gfx/color_space_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698