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

Unified Diff: Source/platform/fonts/FontFallbackWin.h

Issue 52803006: Move FontFallbackWin to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: move to platform/fonts Created 7 years, 1 month 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 | « Source/platform/blink_platform.gypi ('k') | Source/platform/fonts/FontFallbackWin.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/FontFallbackWin.h
diff --git a/Source/core/platform/graphics/chromium/FontFallbackWin.h b/Source/platform/fonts/FontFallbackWin.h
similarity index 92%
rename from Source/core/platform/graphics/chromium/FontFallbackWin.h
rename to Source/platform/fonts/FontFallbackWin.h
index bba33c84378f98e528dec9d98789e7e7f1cd4383..232b2e2ee903bc5574e3b3680d8e4d719a80f3be 100644
--- a/Source/core/platform/graphics/chromium/FontFallbackWin.h
+++ b/Source/platform/fonts/FontFallbackWin.h
@@ -36,6 +36,7 @@
#ifndef FontFallbackWin_h
#define FontFallbackWin_h
+#include "platform/PlatformExport.h"
#include "platform/fonts/FontDescription.h"
#include <unicode/uscript.h>
#include <usp10.h>
@@ -47,7 +48,7 @@ namespace WebCore {
// Return a font family that can render |characters| based on
// what script characters belong to.
// FIXME: This function needs a total overhaul.
-const UChar* getFallbackFamilyForFirstNonCommonCharacter(const UChar* characters,
+PLATFORM_EXPORT const UChar* getFallbackFamilyForFirstNonCommonCharacter(const UChar* characters,
int length,
FontDescription::GenericFamilyType);
@@ -55,7 +56,7 @@ const UChar* getFallbackFamilyForFirstNonCommonCharacter(const UChar* characters
// that characters belong to.
// When scriptChecked is non-zero, the script used to determine
// the family is returned.
-const UChar* getFallbackFamily(UChar32 character,
+PLATFORM_EXPORT const UChar* getFallbackFamily(UChar32 character,
FontDescription::GenericFamilyType,
UScriptCode* scriptChecked);
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/platform/fonts/FontFallbackWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698