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

Unified Diff: content/public/common/dwrite_font_platform_win.h

Issue 1557513002: Add logic to switch to DirectWrite font proxy via field trial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove extraneous namespace qualification Created 4 years, 11 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 | « content/ppapi_plugin/ppapi_plugin_main.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/dwrite_font_platform_win.h
diff --git a/content/public/common/dwrite_font_platform_win.h b/content/public/common/dwrite_font_platform_win.h
index 4c988bc82eb20acc970f6eba10bcd2547fc4f7e0..d049f280b1cfed4fc0ed3fcea74c9c87e7d81cfe 100644
--- a/content/public/common/dwrite_font_platform_win.h
+++ b/content/public/common/dwrite_font_platform_win.h
@@ -36,6 +36,12 @@ CONTENT_EXPORT bool LoadFontCache(const base::FilePath& path);
// Added in header mainly for unittest
CONTENT_EXPORT bool ValidateFontCacheFile(base::File* file);
+// Determines whether code should use the DirectWrite font proxy codepath.
+// Note that this function only checks whether the field trial is enabled.
+// Callers are still expected to take appropriate action based on the return
+// value.
+CONTENT_EXPORT bool ShouldUseDirectWriteFontProxyFieldTrial();
+
} // namespace content
#endif // CONTENT_PUBLIC_COMMON_DWRITE_FONT_PLATFORM_WIN_H_
« no previous file with comments | « content/ppapi_plugin/ppapi_plugin_main.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698