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

Unified Diff: ui/gfx/switches.h

Issue 644813004: Move the ShouldUseDirectWrite function from sandbox_win.cc/.h to ui/gfx/win/dpi.cc/.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: ui/gfx/switches.h
diff --git a/ui/gfx/switches.h b/ui/gfx/switches.h
index 1fb28a196044b81452551c95ae6d7f78bd9cf5f2..acdf6f338f0af6c77285fcfc4080bd502f5ca03a 100644
--- a/ui/gfx/switches.h
+++ b/ui/gfx/switches.h
@@ -5,6 +5,7 @@
#ifndef UI_GFX_SWITCHES_H_
#define UI_GFX_SWITCHES_H_
+#include "base/compiler_specific.h"
scottmg 2014/10/09 23:16:27 nit; should probably just be build/build_config.h
ananta 2014/10/10 18:45:36 Done.
#include "ui/gfx/gfx_export.h"
namespace switches {
@@ -15,6 +16,10 @@ GFX_EXPORT extern const char kEnableHarfBuzzRenderText[];
GFX_EXPORT extern const char kEnableWebkitTextSubpixelPositioning[];
GFX_EXPORT extern const char kForceDeviceScaleFactor[];
+#if defined(OS_WIN)
+GFX_EXPORT extern const char kDisableDirectWrite[];
+#endif
+
} // namespace switches
#endif // UI_GFX_SWITCHES_H_

Powered by Google App Engine
This is Rietveld 408576698