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

Unified Diff: Source/platform/fonts/WidthIterator.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/VDMXParser.cpp ('k') | Source/platform/fonts/WidthIterator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/WidthIterator.h
diff --git a/Source/core/platform/graphics/WidthIterator.h b/Source/platform/fonts/WidthIterator.h
similarity index 95%
rename from Source/core/platform/graphics/WidthIterator.h
rename to Source/platform/fonts/WidthIterator.h
index 9f4f28801c7166452615e1ee504db972e0af7af5..acd8d2785cead7526395b0f660d4747fa8218d22 100644
--- a/Source/core/platform/graphics/WidthIterator.h
+++ b/Source/platform/fonts/WidthIterator.h
@@ -22,8 +22,9 @@
#ifndef WidthIterator_h
#define WidthIterator_h
-#include "core/platform/graphics/Font.h"
-#include "core/platform/graphics/SVGGlyph.h"
+#include "platform/PlatformExport.h"
+#include "platform/fonts/Font.h"
+#include "platform/fonts/SVGGlyph.h"
#include "platform/graphics/TextRun.h"
#include "wtf/HashSet.h"
#include "wtf/unicode/Unicode.h"
@@ -37,7 +38,7 @@ class SimpleFontData;
class TextRun;
struct GlyphData;
-struct WidthIterator {
+struct PLATFORM_EXPORT WidthIterator {
WTF_MAKE_FAST_ALLOCATED;
public:
WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool accountForGlyphBounds = false, bool forTextEmphasis = false);
« no previous file with comments | « Source/platform/fonts/VDMXParser.cpp ('k') | Source/platform/fonts/WidthIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698