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
3 // found in the LICENSE file.
5 #ifndef UI_WM_CORE_COORDINATE_CONVERSION_H_
6 #define UI_WM_CORE_COORDINATE_CONVERSION_H_
8 #include "ui/wm/wm_export.h"
20 // Converts the |point| from a given |window|'s coordinates into the screen
22 WM_EXPORT
void ConvertPointToScreen(const aura::Window
* window
,
25 // Converts the |point| from the screen coordinates to a given |window|'s
27 WM_EXPORT
void ConvertPointFromScreen(const aura::Window
* window
,
28 gfx::Point
* point_in_screen
);
32 #endif // UI_WM_CORE_COORDINATE_CONVERSION_H_