Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / fonts / win / FontFallbackWin.h
index 1a52c41..75e6218 100644 (file)
 #include <wchar.h>
 #include <windows.h>
 
-namespace WebCore {
+class SkFontMgr;
 
-// Return a font family that can render |characters| based on
-// what script characters belong to.
-// FIXME: This function needs a total overhaul.
-PLATFORM_EXPORT const UChar* getFallbackFamilyForFirstNonCommonCharacter(const UChar* characters,
-    int length,
-    FontDescription::GenericFamilyType);
+namespace WebCore {
 
 // Return a font family that can render |character| based on what script
 // that characters belong to.
@@ -53,7 +48,8 @@ PLATFORM_EXPORT const UChar* getFallbackFamilyForFirstNonCommonCharacter(const U
 // the family is returned.
 PLATFORM_EXPORT const UChar* getFallbackFamily(UChar32 character,
     FontDescription::GenericFamilyType,
-    UScriptCode* scriptChecked);
+    UScriptCode* scriptChecked,
+    SkFontMgr* fontManager);
 
 } // namespace WebCore