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

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: Created 5 years 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: 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..d1b1eff6bac9c33500f709b43ac3f33601307968 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 codepathh.
fdoray 2015/12/30 01:15:08 *codepath
Ilya Kulshin 2015/12/30 01:59:46 Done.
+// 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_

Powered by Google App Engine
This is Rietveld 408576698