OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ | 5 #ifndef ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ |
6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ | 6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
11 #include "ash/display/window_tree_host_manager.h" | 11 #include "ash/display/window_tree_host_manager.h" |
12 #include "ash/wm/wm_types.h" | 12 #include "ash/wm/wm_types.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
16 #include "ui/events/event_handler.h" | 17 #include "ui/events/event_handler.h" |
17 #include "ui/gfx/geometry/point.h" | 18 #include "ui/gfx/geometry/point.h" |
18 #include "ui/gfx/geometry/rect.h" | 19 #include "ui/gfx/geometry/rect.h" |
19 #include "ui/wm/public/window_move_client.h" | 20 #include "ui/wm/public/window_move_client.h" |
20 | 21 |
21 namespace aura { | 22 namespace aura { |
22 class Window; | 23 class Window; |
23 } | 24 } |
24 | 25 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 // Used to track if this object is deleted while running a nested message | 126 // Used to track if this object is deleted while running a nested message |
126 // loop. If non-null the destructor sets this to true. | 127 // loop. If non-null the destructor sets this to true. |
127 bool* destroyed_; | 128 bool* destroyed_; |
128 | 129 |
129 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler); | 130 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler); |
130 }; | 131 }; |
131 | 132 |
132 } // namespace aura | 133 } // namespace aura |
133 | 134 |
134 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ | 135 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ |
OLD | NEW |