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

Unified Diff: ui/gfx/point_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/point_conversions.h
diff --git a/ui/gfx/point_conversions.h b/ui/gfx/point_conversions.h
index 942edd711cce7e8a1b0f00947e7736d5566b723c..b7c961fe923d096b472cdad872eccf35919af2b2 100644
--- a/ui/gfx/point_conversions.h
+++ b/ui/gfx/point_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_POINT_CONVERSIONS_H_
-#define UI_GFX_POINT_CONVERSIONS_H_
+// TODO(beng): remove once callsites are patched.
+#include "ui/gfx/geometry/point_conversions.h"
-#include "ui/gfx/point.h"
-#include "ui/gfx/point_f.h"
-
-namespace gfx {
-
-// Returns a Point with each component from the input PointF floored.
-GFX_EXPORT Point ToFlooredPoint(const PointF& point);
-
-// Returns a Point with each component from the input PointF ceiled.
-GFX_EXPORT Point ToCeiledPoint(const PointF& point);
-
-// Returns a Point with each component from the input PointF rounded.
-GFX_EXPORT Point ToRoundedPoint(const PointF& point);
-
-} // namespace gfx
-
-#endif // UI_GFX_POINT_CONVERSIONS_H_
« ui/aura/aura.gyp ('K') | « ui/gfx/point_base.h ('k') | ui/gfx/point_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698