| Index: ui/wm/core/coordinate_conversion.h
|
| diff --git a/ui/wm/core/coordinate_conversion.h b/ui/wm/core/coordinate_conversion.h
|
| index acc6a46d5b5437022d0db6c58eeb87a8195e670b..4b987fcb2e18c40b3905736cc6f1ed84a85f9f2e 100644
|
| --- a/ui/wm/core/coordinate_conversion.h
|
| +++ b/ui/wm/core/coordinate_conversion.h
|
| @@ -13,6 +13,7 @@ class Window;
|
|
|
| namespace gfx {
|
| class Point;
|
| +class Rect;
|
| } // namespace gfx
|
|
|
| namespace wm {
|
| @@ -27,6 +28,15 @@ WM_EXPORT void ConvertPointToScreen(const aura::Window* window,
|
| WM_EXPORT void ConvertPointFromScreen(const aura::Window* window,
|
| gfx::Point* point_in_screen);
|
|
|
| +// Converts |rect| from |window|'s coordinates to the virtual screen
|
| +// coordinates.
|
| +WM_EXPORT void ConvertRectToScreen(const aura::Window* window, gfx::Rect* rect);
|
| +
|
| +// Converts |rect| from virtual screen coordinates to the |window|'s
|
| +// coordinates.
|
| +WM_EXPORT void ConvertRectFromScreen(const aura::Window* window,
|
| + gfx::Rect* rect_in_screen);
|
| +
|
| } // namespace wm
|
|
|
| #endif // UI_WM_CORE_COORDINATE_CONVERSION_H_
|
|
|