Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: ui/views/events/event.h

Issue 10827145: Convert Aura to use ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/drag_utils.cc ('k') | ui/views/events/event_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ui/views/drag_utils.cc ('k') | ui/views/events/event_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698