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

Unified Diff: components/mus/view_coordinate_conversions.h

Issue 1377493002: mus: move View Manager to components/mus/vm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 months 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
« no previous file with comments | « components/mus/test_server_view_delegate.cc ('k') | components/mus/view_coordinate_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/view_coordinate_conversions.h
diff --git a/components/mus/view_coordinate_conversions.h b/components/mus/view_coordinate_conversions.h
deleted file mode 100644
index 2e8b4948adac5886ea025b51d8df72e551d1a618..0000000000000000000000000000000000000000
--- a/components/mus/view_coordinate_conversions.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 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 COMPONENTS_MUS_VIEW_COORDINATE_CONVERSIONS_H_
-#define COMPONENTS_MUS_VIEW_COORDINATE_CONVERSIONS_H_
-
-namespace gfx {
-class Point;
-class PointF;
-class Rect;
-}
-
-namespace mus {
-
-class ServerView;
-
-// Converts |point| from the coordinates of |from| to the coordinates of |to|.
-// |from| and |to| must be an ancestors or descendants of each other.
-gfx::Point ConvertPointBetweenViews(const ServerView* from,
- const ServerView* to,
- const gfx::Point& point);
-gfx::PointF ConvertPointFBetweenViews(const ServerView* from,
- const ServerView* to,
- const gfx::PointF& point);
-
-// Converts |rect| from the coordinates of |from| to the coordinates of |to|.
-// |from| and |to| must be an ancestors or descendants of each other.
-gfx::Rect ConvertRectBetweenViews(const ServerView* from,
- const ServerView* to,
- const gfx::Rect& rect);
-
-} // namespace mus
-
-#endif // COMPONENTS_MUS_VIEW_COORDINATE_CONVERSIONS_H_
« no previous file with comments | « components/mus/test_server_view_delegate.cc ('k') | components/mus/view_coordinate_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698