Chromium Code Reviews

Unified Diff: ui/gfx/geometry/size_conversions.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.
Jump to:
View side-by-side diff with in-line comments
Index: ui/gfx/geometry/size_conversions.h
diff --git a/ui/gfx/size_conversions.h b/ui/gfx/geometry/size_conversions.h
similarity index 73%
copy from ui/gfx/size_conversions.h
copy to ui/gfx/geometry/size_conversions.h
index af68195b55bdfdb236a4dbff494bbe1ec4db255f..96fb79f93c29ac1f66dabefaf922233adb462770 100644
--- a/ui/gfx/size_conversions.h
+++ b/ui/gfx/geometry/size_conversions.h
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_GFX_SIZE_CONVERSIONS_H_
-#define UI_GFX_SIZE_CONVERSIONS_H_
+#ifndef UI_GFX_GEOMETRY_SIZE_CONVERSIONS_H_
+#define UI_GFX_GEOMETRY_SIZE_CONVERSIONS_H_
-#include "ui/gfx/size.h"
-#include "ui/gfx/size_f.h"
+#include "ui/gfx/geometry/size.h"
+#include "ui/gfx/geometry/size_f.h"
namespace gfx {
@@ -21,4 +21,4 @@ GFX_EXPORT Size ToRoundedSize(const SizeF& size);
} // namespace gfx
-#endif // UI_GFX_SIZE_CONVERSIONS_H_
+#endif // UI_GFX_GEOMETRY_SIZE_CONVERSIONS_H_

Powered by Google App Engine