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

Side by Side Diff: ui/wm/core/coordinate_conversion.h

Issue 445703005: Revert of Moving coordinate conversion methods from ash/wm to ui/wm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef UI_WM_CORE_COORDINATE_CONVERSION_H_
6 #define UI_WM_CORE_COORDINATE_CONVERSION_H_
7
8 #include "ui/wm/wm_export.h"
9
10 namespace aura {
11 class Window;
12 } // namespace aura
13
14 namespace gfx {
15 class Point;
16 } // namespace gfx
17
18 namespace wm {
19
20 // Converts the |point| from a given |window|'s coordinates into the screen
21 // coordinates.
22 WM_EXPORT void ConvertPointToScreen(const aura::Window* window,
23 gfx::Point* point);
24
25 // Converts the |point| from the screen coordinates to a given |window|'s
26 // coordinates.
27 WM_EXPORT void ConvertPointFromScreen(const aura::Window* window,
28 gfx::Point* point_in_screen);
29
30 } // namespace wm
31
32 #endif // UI_WM_CORE_COORDINATE_CONVERSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller.cc ('k') | ui/wm/core/coordinate_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698