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

Unified Diff: ui/gfx/vector2d_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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gfx/vector2d_conversions.h
diff --git a/ui/gfx/vector2d_conversions.h b/ui/gfx/vector2d_conversions.h
index 509a4567d107bc3a8f4e8d026735a84fe4f12d31..5417e1c3f2172d665274356e7e6ada28873ce7b8 100644
--- a/ui/gfx/vector2d_conversions.h
+++ b/ui/gfx/vector2d_conversions.h
@@ -1,24 +1,7 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_GFX_VECTOR2D_CONVERSIONS_H_
-#define UI_GFX_VECTOR2D_CONVERSIONS_H_
+// TODO(beng): remove once callsites are patched.
+#include "ui/gfx/geometry/vector2d_conversions.h"
-#include "ui/gfx/vector2d.h"
-#include "ui/gfx/vector2d_f.h"
-
-namespace gfx {
-
-// Returns a Vector2d with each component from the input Vector2dF floored.
-GFX_EXPORT Vector2d ToFlooredVector2d(const Vector2dF& vector2d);
-
-// Returns a Vector2d with each component from the input Vector2dF ceiled.
-GFX_EXPORT Vector2d ToCeiledVector2d(const Vector2dF& vector2d);
-
-// Returns a Vector2d with each component from the input Vector2dF rounded.
-GFX_EXPORT Vector2d ToRoundedVector2d(const Vector2dF& vector2d);
-
-} // namespace gfx
-
-#endif // UI_GFX_VECTOR2D_CONVERSIONS_H_
« ui/aura/aura.gyp ('K') | « ui/gfx/vector2d.cc ('k') | ui/gfx/vector2d_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698