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

Side by Side Diff: services/ui/ws/window_finder.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_FINDER_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_FINDER_H_
6 #define COMPONENTS_MUS_WS_WINDOW_FINDER_H_ 6 #define SERVICES_UI_WS_WINDOW_FINDER_H_
7 7
8 namespace gfx { 8 namespace gfx {
9 class Point; 9 class Point;
10 class Transform; 10 class Transform;
11 } 11 }
12 12
13 namespace mus { 13 namespace mus {
14 namespace ws { 14 namespace ws {
15 15
16 class ServerWindow; 16 class ServerWindow;
17 17
18 // Find the deepest visible child of |root| that should receive an event at 18 // Find the deepest visible child of |root| that should receive an event at
19 // |location|. |location| is initially in the coordinate space of 19 // |location|. |location| is initially in the coordinate space of
20 // |root_window|, on return it is converted to the coordinates of the return 20 // |root_window|, on return it is converted to the coordinates of the return
21 // value. 21 // value.
22 ServerWindow* FindDeepestVisibleWindowForEvents( 22 ServerWindow* FindDeepestVisibleWindowForEvents(
23 ServerWindow* root_window, 23 ServerWindow* root_window,
24 gfx::Point* location); 24 gfx::Point* location);
25 25
26 // Retrieve the transform to the provided |window|'s coordinate space from the 26 // Retrieve the transform to the provided |window|'s coordinate space from the
27 // root. 27 // root.
28 gfx::Transform GetTransformToWindow(ServerWindow* window); 28 gfx::Transform GetTransformToWindow(ServerWindow* window);
29 29
30 } // namespace ws 30 } // namespace ws
31 } // namespace mus 31 } // namespace mus
32 32
33 #endif // COMPONENTS_MUS_WS_WINDOW_FINDER_H_ 33 #endif // SERVICES_UI_WS_WINDOW_FINDER_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_coordinate_conversions_unittest.cc ('k') | services/ui/ws/window_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698