Index: Source/platform/mac/WebFontCache.h |
diff --git a/Source/core/platform/mac/WebFontCache.h b/Source/platform/mac/WebFontCache.h |
similarity index 95% |
rename from Source/core/platform/mac/WebFontCache.h |
rename to Source/platform/mac/WebFontCache.h |
index 822c1b51b2895a0b7d733dea5fc2ce4d570198f2..1ee439a8f347ca0e0027f57bd63d849929a82c90 100644 |
--- a/Source/core/platform/mac/WebFontCache.h |
+++ b/Source/platform/mac/WebFontCache.h |
@@ -24,11 +24,12 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+#include "platform/PlatformExport.h" |
#import <AppKit/NSFontManager.h> |
#import <wtf/Vector.h> |
// This interface exists so that third party products (like Silk) can patch in to an Obj-C method to manipulate WebKit's font caching/substitution. |
-@interface WebFontCache : NSObject |
+PLATFORM_EXPORT @interface WebFontCache : NSObject |
+ (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits weight:(int)desiredWeight size:(float)size; |
+ (void)getTraits:(Vector<unsigned>&)traitsMasks inFamily:(NSString *)desiredFamily; |