OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 UI_VIEWS_WIDGET_DESKTOP_AURA_X11_TOPMOST_WINDOW_FINDER_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_X11_TOPMOST_WINDOW_FINDER_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_X11_TOPMOST_WINDOW_FINDER_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_X11_TOPMOST_WINDOW_FINDER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "ui/base/x/x11_util.h" | 10 #include "ui/base/x/x11_util.h" |
11 #include "ui/gfx/point.h" | 11 #include "ui/gfx/geometry/point.h" |
12 #include "ui/views/views_export.h" | 12 #include "ui/views/views_export.h" |
13 | 13 |
14 namespace aura { | 14 namespace aura { |
15 class Window; | 15 class Window; |
16 } | 16 } |
17 | 17 |
18 namespace views { | 18 namespace views { |
19 | 19 |
20 // Utility class for finding the topmost window at a given screen position. | 20 // Utility class for finding the topmost window at a given screen position. |
21 class VIEWS_EXPORT X11TopmostWindowFinder | 21 class VIEWS_EXPORT X11TopmostWindowFinder |
(...skipping 22 matching lines...) Expand all Loading... |
44 gfx::Point screen_loc_; | 44 gfx::Point screen_loc_; |
45 std::set<aura::Window*> ignore_; | 45 std::set<aura::Window*> ignore_; |
46 XID toplevel_; | 46 XID toplevel_; |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(X11TopmostWindowFinder); | 48 DISALLOW_COPY_AND_ASSIGN(X11TopmostWindowFinder); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace | 51 } // namespace |
52 | 52 |
53 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_X11_TOPMOST_WINDOW_FINDER_H_ | 53 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_X11_TOPMOST_WINDOW_FINDER_H_ |
OLD | NEW |