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

Unified Diff: Source/platform/geometry/FloatPolygon.h

Issue 32823017: Move FloatPolygon.* and WindRule.h to Source/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Export classes/enum for win/mac 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/blink_platform.gypi ('k') | Source/platform/geometry/FloatPolygon.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/geometry/FloatPolygon.h
diff --git a/Source/core/platform/graphics/FloatPolygon.h b/Source/platform/geometry/FloatPolygon.h
similarity index 96%
rename from Source/core/platform/graphics/FloatPolygon.h
rename to Source/platform/geometry/FloatPolygon.h
index acf033f042a4ab450ef8b32d6d123acbb0d1678b..708d5a7cb78ef4fd9fe115326f2de9d29aa5b576 100644
--- a/Source/core/platform/graphics/FloatPolygon.h
+++ b/Source/platform/geometry/FloatPolygon.h
@@ -30,10 +30,10 @@
#ifndef FloatPolygon_h
#define FloatPolygon_h
-#include "core/platform/graphics/WindRule.h"
#include "platform/PODIntervalTree.h"
#include "platform/geometry/FloatPoint.h"
#include "platform/geometry/FloatRect.h"
+#include "platform/graphics/WindRule.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/Vector.h"
@@ -47,7 +47,7 @@ class FloatPolygonEdge;
template <class> struct ValueToString;
#endif
-class FloatPolygon {
+class PLATFORM_EXPORT FloatPolygon {
public:
FloatPolygon(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule);
@@ -80,7 +80,7 @@ private:
};
-class VertexPair {
+class PLATFORM_EXPORT VertexPair {
public:
virtual ~VertexPair() { }
@@ -96,7 +96,7 @@ public:
bool intersection(const VertexPair&, FloatPoint&) const;
};
-class FloatPolygonEdge : public VertexPair {
+class PLATFORM_EXPORT FloatPolygonEdge : public VertexPair {
friend class FloatPolygon;
public:
virtual const FloatPoint& vertex1() const OVERRIDE
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/platform/geometry/FloatPolygon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698