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

Unified Diff: include/ports/SkFontMgr_android.h

Issue 1673373003: Add support for caching font files in the Android SkFontMgr. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Addressed comments. Created 4 years, 10 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 | « no previous file | src/ports/SkFontMgr_android.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/ports/SkFontMgr_android.h
diff --git a/include/ports/SkFontMgr_android.h b/include/ports/SkFontMgr_android.h
index e489b161b2a602629f6f6a17efeb8b1d9492b5ff..f12f51f36afccfe69db0c5a6de12285c6b314a33 100644
--- a/include/ports/SkFontMgr_android.h
+++ b/include/ports/SkFontMgr_android.h
@@ -39,6 +39,11 @@ struct SkFontMgr_Android_CustomFonts {
* In the new style (version > 21) fontsXml format is used, this should be NULL.
*/
const char* fFallbackFontsXml;
+
+ /** Optional custom flag. If set to true the SkFontMgr will acquire all requisite
+ * system IO resources on initialization.
+ */
+ bool fIsolated;
};
/** Create a font manager for Android. If 'custom' is NULL, use only system fonts. */
« no previous file with comments | « no previous file | src/ports/SkFontMgr_android.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698