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

Unified Diff: ui/gfx/vector2d_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: Fix DEPS file 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
Index: ui/gfx/vector2d_f.h
diff --git a/ui/gfx/vector2d_f.h b/ui/gfx/vector2d_f.h
index ebd0b5b4fb5500c8e611a5c356e2b72e0d0522d8..bf481887468393b9efa36494b8314a51d665f22a 100644
--- a/ui/gfx/vector2d_f.h
+++ b/ui/gfx/vector2d_f.h
@@ -16,7 +16,7 @@
namespace gfx {
-class UI_EXPORT Vector2dF {
+class GFX_EXPORT Vector2dF {
public:
Vector2dF() : x_(0), y_(0) {}
Vector2dF(float x, float y) : x_(x), y_(y) {}
@@ -91,14 +91,14 @@ inline Vector2dF operator-(const Vector2dF& lhs, const Vector2dF& rhs) {
}
// Return the cross product of two vectors.
-UI_EXPORT double CrossProduct(const Vector2dF& lhs, const Vector2dF& rhs);
+GFX_EXPORT double CrossProduct(const Vector2dF& lhs, const Vector2dF& rhs);
// Return the dot product of two vectors.
-UI_EXPORT double DotProduct(const Vector2dF& lhs, const Vector2dF& rhs);
+GFX_EXPORT double DotProduct(const Vector2dF& lhs, const Vector2dF& rhs);
// Return a vector that is |v| scaled by the given scale factors along each
// axis.
-UI_EXPORT Vector2dF ScaleVector2d(const Vector2dF& v,
+GFX_EXPORT Vector2dF ScaleVector2d(const Vector2dF& v,
float x_scale,
sky 2013/09/24 19:11:40 nit: moar indenting
float y_scale);

Powered by Google App Engine
This is Rietveld 408576698