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

Unified Diff: public/platform/linux/WebFontInfo.h

Issue 326763002: Adding WebFallbackFont and renaming SimpleFontFamily (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing mac build 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
« no previous file with comments | « public/platform/linux/WebFallbackFont.h ('k') | public/platform/linux/WebSandboxSupport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/linux/WebFontInfo.h
diff --git a/public/platform/linux/WebFontInfo.h b/public/platform/linux/WebFontInfo.h
index e2db6e35ff2fdb77dee6eb6623f97b75bf2504c5..9213a93168fbd80f83c4a8d734902901dcf04e4a 100644
--- a/public/platform/linux/WebFontInfo.h
+++ b/public/platform/linux/WebFontInfo.h
@@ -32,6 +32,7 @@
#define WebFontInfo_h
#include "../WebCString.h"
+#include "WebFallbackFont.h"
#include "WebFontFamily.h"
#include "WebFontRenderStyle.h"
@@ -55,6 +56,9 @@ public:
//
// Returns: the font family or an empty string if the request could not be satisfied.
// Returns: the font family instance. The instance has an empty font name if the request could not be satisfied.
+ BLINK_EXPORT static void fallbackFontForChar(const WebUChar32 character, const char* preferredLocale, WebFallbackFont*);
+
+ // TODO(dro): Remove this legacy version, kept until renames on the Chromium side are done. crbug.com/382411
BLINK_EXPORT static void familyForChar(const WebUChar32 character, const char* preferredLocale, WebFontFamily*);
// Fill out the given WebFontRenderStyle with the user's preferences for
« no previous file with comments | « public/platform/linux/WebFallbackFont.h ('k') | public/platform/linux/WebSandboxSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698