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

Side by Side Diff: ui/events/event_dispatcher.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/events/blink/blink_event_util.h ('k') | ui/events/event_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 UI_EVENTS_EVENT_DISPATCHER_H_ 5 #ifndef UI_EVENTS_EVENT_DISPATCHER_H_
6 #define UI_EVENTS_EVENT_DISPATCHER_H_ 6 #define UI_EVENTS_EVENT_DISPATCHER_H_
7 7
8 #include "base/auto_reset.h" 8 #include "base/auto_reset.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ui/events/event.h" 10 #include "ui/events/event.h"
11 #include "ui/events/event_constants.h" 11 #include "ui/events/event_constants.h"
12 #include "ui/events/event_handler.h" 12 #include "ui/events/event_handler.h"
13 #include "ui/events/events_export.h" 13 #include "ui/events/events_export.h"
14 14
15 namespace ui { 15 namespace ui {
16 16
17 class EventDispatcher; 17 class EventDispatcher;
18 class EventTarget; 18 class EventTarget;
19 class EventTargeter;
20 19
21 struct EventDispatchDetails { 20 struct EventDispatchDetails {
22 EventDispatchDetails() 21 EventDispatchDetails()
23 : dispatcher_destroyed(false), 22 : dispatcher_destroyed(false),
24 target_destroyed(false) {} 23 target_destroyed(false) {}
25 bool dispatcher_destroyed; 24 bool dispatcher_destroyed;
26 bool target_destroyed; 25 bool target_destroyed;
27 }; 26 };
28 27
29 class EVENTS_EXPORT EventDispatcherDelegate { 28 class EVENTS_EXPORT EventDispatcherDelegate {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 Event* current_event_; 98 Event* current_event_;
100 99
101 EventHandlerList handler_list_; 100 EventHandlerList handler_list_;
102 101
103 DISALLOW_COPY_AND_ASSIGN(EventDispatcher); 102 DISALLOW_COPY_AND_ASSIGN(EventDispatcher);
104 }; 103 };
105 104
106 } // namespace ui 105 } // namespace ui
107 106
108 #endif // UI_EVENTS_EVENT_DISPATCHER_H_ 107 #endif // UI_EVENTS_EVENT_DISPATCHER_H_
OLDNEW
« no previous file with comments | « ui/events/blink/blink_event_util.h ('k') | ui/events/event_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698