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

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

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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/fonts/FontFastPath.cpp ('k') | Source/platform/fonts/FontPlatformData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/FontPlatformData.h
diff --git a/Source/core/platform/graphics/FontPlatformData.h b/Source/platform/fonts/FontPlatformData.h
similarity index 96%
rename from Source/core/platform/graphics/FontPlatformData.h
rename to Source/platform/fonts/FontPlatformData.h
index e0a1176bee398643fd5a47f847d08b2935c2937a..062a67f85b3e35cc686c9c4601cbad74cbdd2bba 100644
--- a/Source/core/platform/graphics/FontPlatformData.h
+++ b/Source/platform/fonts/FontPlatformData.h
@@ -24,15 +24,16 @@
// FIXME: This is temporary until all ports switch to using this file.
#if OS(WIN)
-#include "core/platform/graphics/win/FontPlatformDataWin.h"
+#include "platform/fonts/win/FontPlatformDataWin.h"
#elif !OS(MACOSX)
-#include "core/platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.h"
+#include "platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.h"
#else
#ifndef FontPlatformData_h
#define FontPlatformData_h
+#include "platform/PlatformExport.h"
#include "platform/fonts/FontOrientation.h"
#include "platform/fonts/FontWidthVariant.h"
@@ -54,7 +55,7 @@ typedef const struct __CTFont* CTFontRef;
#include "wtf/text/StringImpl.h"
#if OS(MACOSX)
-#include "core/platform/graphics/mac/MemoryActivatedFont.h"
+#include "platform/fonts/mac/MemoryActivatedFont.h"
#endif
#if OS(MACOSX)
@@ -78,7 +79,7 @@ class HarfBuzzFace;
inline CTFontRef toCTFontRef(NSFont *nsFont) { return reinterpret_cast<CTFontRef>(nsFont); }
#endif
-class FontPlatformData {
+class PLATFORM_EXPORT FontPlatformData {
public:
FontPlatformData(WTF::HashTableDeletedValueType);
FontPlatformData();
« no previous file with comments | « Source/platform/fonts/FontFastPath.cpp ('k') | Source/platform/fonts/FontPlatformData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698