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/display_controller.h" | 11 #include "ash/display/display_controller.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/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "ui/events/event_handler.h" | 16 #include "ui/events/event_handler.h" |
17 #include "ui/gfx/point.h" | 17 #include "ui/gfx/geometry/point.h" |
18 #include "ui/gfx/rect.h" | 18 #include "ui/gfx/rect.h" |
19 #include "ui/wm/public/window_move_client.h" | 19 #include "ui/wm/public/window_move_client.h" |
20 | 20 |
21 namespace aura { | 21 namespace aura { |
22 class Window; | 22 class Window; |
23 } | 23 } |
24 | 24 |
25 namespace ui { | 25 namespace ui { |
26 class LocatedEvent; | 26 class LocatedEvent; |
27 } | 27 } |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // Used to track if this object is deleted while running a nested message | 122 // Used to track if this object is deleted while running a nested message |
123 // loop. If non-null the destructor sets this to true. | 123 // loop. If non-null the destructor sets this to true. |
124 bool* destroyed_; | 124 bool* destroyed_; |
125 | 125 |
126 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler); | 126 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler); |
127 }; | 127 }; |
128 | 128 |
129 } // namespace aura | 129 } // namespace aura |
130 | 130 |
131 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ | 131 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ |
OLD | NEW |