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

Unified Diff: ui/gfx/point3_f.h

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last rebase Created 7 years, 3 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 | « ui/gfx/point.h ('k') | ui/gfx/point_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/point3_f.h
diff --git a/ui/gfx/point3_f.h b/ui/gfx/point3_f.h
index 5ea0c3181f01c2636a391d7900ed180f83a3c6d6..485f65581365b5a6f802729a1368120e09c4f9d7 100644
--- a/ui/gfx/point3_f.h
+++ b/ui/gfx/point3_f.h
@@ -14,7 +14,7 @@
namespace gfx {
// A point has an x, y and z coordinate.
-class UI_EXPORT Point3F {
+class GFX_EXPORT Point3F {
public:
Point3F() : x_(0), y_(0), z_(0) {}
@@ -90,15 +90,15 @@ inline bool operator!=(const Point3F& lhs, const Point3F& rhs) {
}
// Add a vector to a point, producing a new point offset by the vector.
-UI_EXPORT Point3F operator+(const Point3F& lhs, const Vector3dF& rhs);
+GFX_EXPORT Point3F operator+(const Point3F& lhs, const Vector3dF& rhs);
// Subtract a vector from a point, producing a new point offset by the vector's
// inverse.
-UI_EXPORT Point3F operator-(const Point3F& lhs, const Vector3dF& rhs);
+GFX_EXPORT Point3F operator-(const Point3F& lhs, const Vector3dF& rhs);
// Subtract one point from another, producing a vector that represents the
// distances between the two points along each axis.
-UI_EXPORT Vector3dF operator-(const Point3F& lhs, const Point3F& rhs);
+GFX_EXPORT Vector3dF operator-(const Point3F& lhs, const Point3F& rhs);
inline Point3F PointAtOffsetFromOrigin(const Vector3dF& offset) {
return Point3F(offset.x(), offset.y(), offset.z());
« no previous file with comments | « ui/gfx/point.h ('k') | ui/gfx/point_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698