OLD | NEW |
| 1 |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 // 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 | 3 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 4 // found in the LICENSE file. |
4 | 5 |
5 #ifndef UI_VIEWS_EVENTS_EVENT_H_ | 6 #ifndef UI_VIEWS_EVENTS_EVENT_H_ |
6 #define UI_VIEWS_EVENTS_EVENT_H_ | 7 #define UI_VIEWS_EVENTS_EVENT_H_ |
7 | 8 |
8 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
10 #include "base/logging.h" | 11 #include "base/logging.h" |
11 #include "base/time.h" | 12 #include "base/time.h" |
12 #include "ui/base/events.h" | 13 #include "ui/base/events.h" |
13 #include "ui/base/gestures/gesture_types.h" | 14 #include "ui/base/gestures/gesture_types.h" |
14 #include "ui/base/keycodes/keyboard_codes.h" | 15 #include "ui/base/keycodes/keyboard_codes.h" |
15 #include "ui/gfx/point.h" | 16 #include "ui/gfx/point.h" |
16 #include "ui/views/views_export.h" | 17 #include "ui/views/views_export.h" |
17 | 18 |
18 namespace ui { | 19 namespace ui { |
| 20 class Event; |
19 class OSExchangeData; | 21 class OSExchangeData; |
20 } | 22 } |
21 | 23 |
22 #if defined(USE_AURA) | |
23 namespace aura { | |
24 class Event; | |
25 } | |
26 #endif | |
27 | 24 |
28 namespace views { | 25 namespace views { |
29 | 26 |
30 #if defined(USE_AURA) | 27 #if defined(USE_AURA) |
31 typedef aura::Event* NativeEvent; | 28 typedef ui::Event* NativeEvent; |
32 #else | 29 #else |
33 typedef base::NativeEvent NativeEvent; | 30 typedef base::NativeEvent NativeEvent; |
34 #endif | 31 #endif |
35 | 32 |
36 class View; | 33 class View; |
37 | 34 |
38 namespace internal { | 35 namespace internal { |
39 class RootView; | 36 class RootView; |
40 } | 37 } |
41 | 38 |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 DISALLOW_COPY_AND_ASSIGN(GestureEventForTest); | 454 DISALLOW_COPY_AND_ASSIGN(GestureEventForTest); |
458 }; | 455 }; |
459 | 456 |
460 #if defined(OS_WIN) | 457 #if defined(OS_WIN) |
461 int GetModifiersFromKeyState(); | 458 int GetModifiersFromKeyState(); |
462 #endif | 459 #endif |
463 | 460 |
464 } // namespace views | 461 } // namespace views |
465 | 462 |
466 #endif // UI_VIEWS_EVENTS_EVENT_H_ | 463 #endif // UI_VIEWS_EVENTS_EVENT_H_ |
OLD | NEW |