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

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

Issue 48113009: Move Font related classes to Source/platform/fonts (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix mac export Created 7 years, 2 months 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/FontCacheKey.h ('k') | Source/platform/fonts/FontDescription.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/FontDescription.h
diff --git a/Source/core/platform/graphics/FontDescription.h b/Source/platform/fonts/FontDescription.h
similarity index 97%
rename from Source/core/platform/graphics/FontDescription.h
rename to Source/platform/fonts/FontDescription.h
index d6ad3c2d5b3df6cda2fb035a6b3418b6f2eb7dd2..8634fc666d3d0423ae15f0afff7660cb8d63883a 100644
--- a/Source/core/platform/graphics/FontDescription.h
+++ b/Source/platform/fonts/FontDescription.h
@@ -26,14 +26,14 @@
#define FontDescription_h
#include "FontFamilyNames.h"
-#include "core/platform/graphics/FontCacheKey.h"
-#include "core/platform/graphics/FontOrientation.h"
-#include "core/platform/graphics/FontSmoothingMode.h"
-#include "core/platform/graphics/FontTraitsMask.h"
-#include "core/platform/graphics/FontWidthVariant.h"
-#include "core/platform/graphics/TextRenderingMode.h"
+#include "platform/fonts/FontCacheKey.h"
#include "platform/fonts/FontFamily.h"
#include "platform/fonts/FontFeatureSettings.h"
+#include "platform/fonts/FontOrientation.h"
+#include "platform/fonts/FontSmoothingMode.h"
+#include "platform/fonts/FontTraitsMask.h"
+#include "platform/fonts/FontWidthVariant.h"
+#include "platform/fonts/TextRenderingMode.h"
#include "platform/text/NonCJKGlyphOrientation.h"
#include "wtf/MathExtras.h"
@@ -65,7 +65,7 @@ enum FontSmallCaps {
FontSmallCapsOn = 1
};
-class FontDescription {
+class PLATFORM_EXPORT FontDescription {
public:
enum GenericFamilyType { NoFamily, StandardFamily, SerifFamily, SansSerifFamily,
MonospaceFamily, CursiveFamily, FantasyFamily, PictographFamily };
« no previous file with comments | « Source/platform/fonts/FontCacheKey.h ('k') | Source/platform/fonts/FontDescription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698