| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_MUS_WS_WINDOW_COORDINATE_CONVERSIONS_H_ | 5 #ifndef SERVICES_UI_WS_WINDOW_COORDINATE_CONVERSIONS_H_ |
| 6 #define COMPONENTS_MUS_WS_WINDOW_COORDINATE_CONVERSIONS_H_ | 6 #define SERVICES_UI_WS_WINDOW_COORDINATE_CONVERSIONS_H_ |
| 7 | 7 |
| 8 namespace gfx { | 8 namespace gfx { |
| 9 class Point; | 9 class Point; |
| 10 class PointF; | 10 class PointF; |
| 11 class Rect; | 11 class Rect; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace mus { | 14 namespace mus { |
| 15 | 15 |
| 16 namespace ws { | 16 namespace ws { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 29 // Converts |rect| from the coordinates of |from| to the coordinates of |to|. | 29 // Converts |rect| from the coordinates of |from| to the coordinates of |to|. |
| 30 // |from| and |to| must be an ancestors or descendants of each other. | 30 // |from| and |to| must be an ancestors or descendants of each other. |
| 31 gfx::Rect ConvertRectBetweenWindows(const ServerWindow* from, | 31 gfx::Rect ConvertRectBetweenWindows(const ServerWindow* from, |
| 32 const ServerWindow* to, | 32 const ServerWindow* to, |
| 33 const gfx::Rect& rect); | 33 const gfx::Rect& rect); |
| 34 | 34 |
| 35 } // namespace ws | 35 } // namespace ws |
| 36 | 36 |
| 37 } // namespace mus | 37 } // namespace mus |
| 38 | 38 |
| 39 #endif // COMPONENTS_MUS_WS_WINDOW_COORDINATE_CONVERSIONS_H_ | 39 #endif // SERVICES_UI_WS_WINDOW_COORDINATE_CONVERSIONS_H_ |
| OLD | NEW |