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

Unified Diff: ui/gfx/geometry/vector2d.h

Issue 109433013: Move geometric types to a separate, more lightweight target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years 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/geometry/vector2d.h
diff --git a/ui/gfx/vector2d.h b/ui/gfx/geometry/vector2d.h
similarity index 94%
copy from ui/gfx/vector2d.h
copy to ui/gfx/geometry/vector2d.h
index 8dd76324d1a90a3c1d6673f41edf9dcd9b255db6..12f29a956d77f19d3a9833b4cd914cb927ba6e36 100644
--- a/ui/gfx/vector2d.h
+++ b/ui/gfx/geometry/vector2d.h
@@ -7,14 +7,14 @@
// produce a vector, and adding a vector to a point produces the point at the
// vector's distance from the original point.
-#ifndef UI_GFX_VECTOR2D_H_
-#define UI_GFX_VECTOR2D_H_
+#ifndef UI_GFX_GEOMETRY_VECTOR2D_H_
+#define UI_GFX_GEOMETRY_VECTOR2D_H_
#include <string>
#include "base/basictypes.h"
+#include "ui/gfx/geometry/vector2d_f.h"
#include "ui/gfx/gfx_export.h"
-#include "ui/gfx/vector2d_f.h"
namespace gfx {
@@ -88,4 +88,4 @@ inline Vector2d operator-(const Vector2d& lhs, const Vector2d& rhs) {
} // namespace gfx
-#endif // UI_GFX_VECTOR2D_H_
+#endif // UI_GFX_GEOMETRY_VECTOR2D_H_

Powered by Google App Engine
This is Rietveld 408576698