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_AURA_WINDOW_EVENT_DISPATCHER_H_ | 5 #ifndef UI_AURA_WINDOW_EVENT_DISPATCHER_H_ |
6 #define UI_AURA_WINDOW_EVENT_DISPATCHER_H_ | 6 #define UI_AURA_WINDOW_EVENT_DISPATCHER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
16 #include "base/scoped_observer.h" | 16 #include "base/scoped_observer.h" |
17 #include "ui/aura/aura_export.h" | 17 #include "ui/aura/aura_export.h" |
18 #include "ui/aura/client/capture_delegate.h" | 18 #include "ui/aura/client/capture_delegate.h" |
19 #include "ui/aura/env_observer.h" | 19 #include "ui/aura/env_observer.h" |
20 #include "ui/aura/window_observer.h" | 20 #include "ui/aura/window_observer.h" |
21 #include "ui/base/cursor/cursor.h" | 21 #include "ui/base/cursor/cursor.h" |
22 #include "ui/events/event_constants.h" | 22 #include "ui/events/event_constants.h" |
23 #include "ui/events/event_processor.h" | 23 #include "ui/events/event_processor.h" |
24 #include "ui/events/event_targeter.h" | 24 #include "ui/events/event_targeter.h" |
25 #include "ui/events/gestures/gesture_recognizer.h" | 25 #include "ui/events/gestures/gesture_recognizer.h" |
26 #include "ui/events/gestures/gesture_types.h" | 26 #include "ui/events/gestures/gesture_types.h" |
| 27 #include "ui/gfx/geometry/point.h" |
27 #include "ui/gfx/native_widget_types.h" | 28 #include "ui/gfx/native_widget_types.h" |
28 #include "ui/gfx/point.h" | |
29 | 29 |
30 namespace gfx { | 30 namespace gfx { |
31 class Size; | 31 class Size; |
32 class Transform; | 32 class Transform; |
33 } | 33 } |
34 | 34 |
35 namespace ui { | 35 namespace ui { |
36 class GestureEvent; | 36 class GestureEvent; |
37 class GestureRecognizer; | 37 class GestureRecognizer; |
38 class KeyEvent; | 38 class KeyEvent; |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 | 261 |
262 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0. | 262 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0. |
263 base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_; | 263 base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_; |
264 | 264 |
265 DISALLOW_COPY_AND_ASSIGN(WindowEventDispatcher); | 265 DISALLOW_COPY_AND_ASSIGN(WindowEventDispatcher); |
266 }; | 266 }; |
267 | 267 |
268 } // namespace aura | 268 } // namespace aura |
269 | 269 |
270 #endif // UI_AURA_WINDOW_EVENT_DISPATCHER_H_ | 270 #endif // UI_AURA_WINDOW_EVENT_DISPATCHER_H_ |
OLD | NEW |