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

Unified Diff: ui/gfx/quad_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_f.h ('k') | ui/gfx/range/range.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/quad_f.h
diff --git a/ui/gfx/quad_f.h b/ui/gfx/quad_f.h
index 5bbc3cd40dd4ff3434eef92c7fbb0bbea68a9e53..b8a42e9883e1b5d9aebb48e9b6bb4118de1e0a36 100644
--- a/ui/gfx/quad_f.h
+++ b/ui/gfx/quad_f.h
@@ -17,7 +17,7 @@ namespace gfx {
// A Quad is defined by four corners, allowing it to have edges that are not
// axis-aligned, unlike a Rect.
-class UI_EXPORT QuadF {
+class GFX_EXPORT QuadF {
public:
QuadF() {}
QuadF(const PointF& p1, const PointF& p2, const PointF& p3, const PointF& p4)
@@ -99,10 +99,10 @@ inline bool operator!=(const QuadF& lhs, const QuadF& rhs) {
}
// Add a vector to a quad, offseting each point in the quad by the vector.
-UI_EXPORT QuadF operator+(const QuadF& lhs, const Vector2dF& rhs);
+GFX_EXPORT QuadF operator+(const QuadF& lhs, const Vector2dF& rhs);
// Subtract a vector from a quad, offseting each point in the quad by the
// inverse of the vector.
-UI_EXPORT QuadF operator-(const QuadF& lhs, const Vector2dF& rhs);
+GFX_EXPORT QuadF operator-(const QuadF& lhs, const Vector2dF& rhs);
} // namespace gfx
« no previous file with comments | « ui/gfx/point_f.h ('k') | ui/gfx/range/range.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698