Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ATHENA_WM_COORDINATE_CONVERSION_H_ | |
| 6 #define ATHENA_WM_COORDINATE_CONVERSION_H_ | |
| 7 | |
| 8 namespace aura { | |
| 9 class Window; | |
| 10 } // namespace aura | |
| 11 | |
| 12 namespace gfx { | |
| 13 class Point; | |
| 14 class Rect; | |
| 15 } // namespace gfx | |
| 16 | |
| 17 namespace athena { | |
| 18 // Converts the |point| from a given |window|'s coordinates into the screen | |
| 19 // coordinates. | |
| 20 void ConvertPointToScreen(const aura::Window* window, | |
|
Jun Mukai
2014/07/25 20:21:29
This file would be great to be in ui/wm/core (or e
oshima
2014/07/25 21:41:10
yep, and consolidate methods (that make sense) ash
mfomitchev
2014/08/05 19:56:57
Done. Created a separate review for ash changes: h
| |
| 21 gfx::Point* point); | |
| 22 | |
| 23 // Converts the |point| from the screen coordinates to a given |window|'s | |
| 24 // coordinates. | |
| 25 void ConvertPointFromScreen(const aura::Window* window, | |
| 26 gfx::Point* point_in_screen); | |
| 27 | |
| 28 } // namespace athena | |
| 29 | |
| 30 #endif // ATHENA_WM_COORDINATE_CONVERSION_H_ | |
| OLD | NEW |