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

Unified Diff: ui/gfx/point_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_conversions.h ('k') | ui/gfx/quad_f.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/point_f.h
diff --git a/ui/gfx/point_f.h b/ui/gfx/point_f.h
index d9fc18cbbccad632d8591166b90058a3271c0033..664c18d8aa0bbbc67130909f55f662e2fcf25b6f 100644
--- a/ui/gfx/point_f.h
+++ b/ui/gfx/point_f.h
@@ -14,7 +14,7 @@
namespace gfx {
// A floating version of gfx::Point.
-class UI_EXPORT PointF : public PointBase<PointF, float, Vector2dF> {
+class GFX_EXPORT PointF : public PointBase<PointF, float, Vector2dF> {
public:
PointF() : PointBase<PointF, float, Vector2dF>(0, 0) {}
PointF(float x, float y) : PointBase<PointF, float, Vector2dF>(x, y) {}
@@ -60,7 +60,7 @@ inline PointF PointAtOffsetFromOrigin(const Vector2dF& offset_from_origin) {
return PointF(offset_from_origin.x(), offset_from_origin.y());
}
-UI_EXPORT PointF ScalePoint(const PointF& p, float x_scale, float y_scale);
+GFX_EXPORT PointF ScalePoint(const PointF& p, float x_scale, float y_scale);
inline PointF ScalePoint(const PointF& p, float scale) {
return ScalePoint(p, scale, scale);
« no previous file with comments | « ui/gfx/point_conversions.h ('k') | ui/gfx/quad_f.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698