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

Unified Diff: Source/platform/fonts/Font.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/CustomFontData.h ('k') | Source/platform/fonts/Font.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/Font.h
diff --git a/Source/core/platform/graphics/Font.h b/Source/platform/fonts/Font.h
similarity index 98%
rename from Source/core/platform/graphics/Font.h
rename to Source/platform/fonts/Font.h
index eef57889ae41b1226add8ba6b1c16da9b48f7eaa..1e1e4961746db0f0c09234a71505ff96ba366442 100644
--- a/Source/core/platform/graphics/Font.h
+++ b/Source/platform/fonts/Font.h
@@ -25,9 +25,10 @@
#ifndef Font_h
#define Font_h
-#include "core/platform/graphics/FontFallbackList.h"
-#include "core/platform/graphics/SimpleFontData.h"
+#include "platform/PlatformExport.h"
#include "platform/fonts/FontDescription.h"
+#include "platform/fonts/FontFallbackList.h"
+#include "platform/fonts/SimpleFontData.h"
#include "platform/fonts/TypesettingFeatures.h"
#include "platform/text/TextDirection.h"
#include "wtf/HashMap.h"
@@ -75,7 +76,7 @@ struct GlyphOverflow {
};
-class Font {
+class PLATFORM_EXPORT Font {
public:
Font();
Font(const FontDescription&, float letterSpacing, float wordSpacing);
@@ -332,7 +333,7 @@ inline float Font::tabWidth(const SimpleFontData& fontData, unsigned tabSize, fl
namespace WTF {
-template <> struct OwnedPtrDeleter<WebCore::TextLayout> {
+template <> struct PLATFORM_EXPORT OwnedPtrDeleter<WebCore::TextLayout> {
static void deletePtr(WebCore::TextLayout*);
};
« no previous file with comments | « Source/platform/fonts/CustomFontData.h ('k') | Source/platform/fonts/Font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698