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

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

Issue 25494003: Move geometry classes from core/platform/graphics to platform/geometry (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/FloatPoint.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/geometry/FloatPoint.h
diff --git a/Source/core/platform/graphics/FloatPoint.h b/Source/platform/geometry/FloatPoint.h
similarity index 97%
rename from Source/core/platform/graphics/FloatPoint.h
rename to Source/platform/geometry/FloatPoint.h
index 9ddbc2beec99999f41f1e0cf1143602fde7ce403..4aea9364fd950e85884c0b51bf475cb2df5e2d66 100644
--- a/Source/core/platform/graphics/FloatPoint.h
+++ b/Source/platform/geometry/FloatPoint.h
@@ -27,8 +27,8 @@
#ifndef FloatPoint_h
#define FloatPoint_h
-#include "core/platform/graphics/FloatSize.h"
-#include "core/platform/graphics/IntPoint.h"
+#include "platform/geometry/FloatSize.h"
+#include "platform/geometry/IntPoint.h"
#include "wtf/MathExtras.h"
#include <algorithm>
@@ -143,6 +143,8 @@ public:
operator SkPoint() const;
+ // FIXME: These are only used by SVGPoint and should probably move there.
+ // http://crbug.com/302829
FloatPoint matrixTransform(const TransformationMatrix&) const;
FloatPoint matrixTransform(const AffineTransform&) const;
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/platform/geometry/FloatPoint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698