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

Unified Diff: ui/gfx/geometry/rect.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/rect.h
diff --git a/ui/gfx/rect.h b/ui/gfx/geometry/rect.h
similarity index 94%
copy from ui/gfx/rect.h
copy to ui/gfx/geometry/rect.h
index df7f9aac366c9bd39ce5c03a0202c7776805a4e7..7272a1c2f6275ca779bf08a5ebbdd803029685b9 100644
--- a/ui/gfx/rect.h
+++ b/ui/gfx/geometry/rect.h
@@ -9,17 +9,17 @@
// rectangles with negative width and/or height), but there will be assertions
// in the operations (such as Contains()) to complain in this case.
-#ifndef UI_GFX_RECT_H_
-#define UI_GFX_RECT_H_
+#ifndef UI_GFX_GEOMETRY_RECT_H_
+#define UI_GFX_GEOMETRY_RECT_H_
#include <cmath>
#include <string>
-#include "ui/gfx/point.h"
-#include "ui/gfx/rect_base.h"
-#include "ui/gfx/rect_f.h"
-#include "ui/gfx/size.h"
-#include "ui/gfx/vector2d.h"
+#include "ui/gfx/geometry/point.h"
+#include "ui/gfx/geometry/rect_base.h"
+#include "ui/gfx/geometry/rect_f.h"
+#include "ui/gfx/geometry/size.h"
+#include "ui/gfx/geometry/vector2d.h"
#if defined(OS_WIN)
typedef struct tagRECT RECT;
@@ -142,4 +142,4 @@ extern template class RectBase<Rect, Point, Size, Insets, Vector2d, int>;
} // namespace gfx
-#endif // UI_GFX_RECT_H_
+#endif // UI_GFX_GEOMETRY_RECT_H_

Powered by Google App Engine
This is Rietveld 408576698