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

Unified Diff: ui/gfx/win/dpi.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/win/dpi.h
diff --git a/ui/gfx/win/dpi.h b/ui/gfx/win/dpi.h
index 19f6a579c79e8f9d055127d4797774693aca0336..98c90c264cad59e8236b969db88b0825b157fcd6 100644
--- a/ui/gfx/win/dpi.h
+++ b/ui/gfx/win/dpi.h
@@ -65,6 +65,9 @@ GFX_EXPORT bool IsDeviceScaleFactorSet();
GFX_EXPORT extern const wchar_t kRegistryProfilePath[];
GFX_EXPORT extern const wchar_t kHighDPISupportW[];
+// Returns whether DirectWrite font rendering should be used.
+GFX_EXPORT bool ShouldUseDirectWrite();
scottmg 2014/10/09 23:16:27 seems a bit odd to have it in dpi.{h,cc}?
ananta 2014/10/10 01:18:31 will look into moving this a new file possibly
ananta 2014/10/10 18:45:36 Moved to ui/gfx/win/direct_write.h/.cc
+
} // namespace win
} // namespace gfx
« ui/gfx/switches.h ('K') | « ui/gfx/switches.cc ('k') | ui/gfx/win/dpi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698