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

Unified Diff: content/public/renderer/render_font_warmup_win.h

Issue 354023007: Use DirectWrite to populate list of avalible fonts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: content/public/renderer/render_font_warmup_win.h
diff --git a/content/public/renderer/render_font_warmup_win.h b/content/public/renderer/render_font_warmup_win.h
index 9624d88b6c6b98059af83f7eacbe73f0d986b39f..219da13467a1d48ee7d113dec169add2cf223f6c 100644
--- a/content/public/renderer/render_font_warmup_win.h
+++ b/content/public/renderer/render_font_warmup_win.h
@@ -7,11 +7,15 @@
#include "content/common/content_export.h"
+struct IDWriteFactory;
class SkFontMgr;
class SkTypeface;
namespace content {
+// Gets the system direct write factory on systems with DirectWrite support.
+CONTENT_EXPORT void CreateDirectWriteFactory(IDWriteFactory**);
+
// Make necessary calls to cache the data for a given font, used before
// sandbox lockdown.
CONTENT_EXPORT void DoPreSandboxWarmupForTypeface(SkTypeface* typeface);

Powered by Google App Engine
This is Rietveld 408576698