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

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

Issue 24257011: Revert "Revert 224496 "Move ui/base/latency_info* to ui/events"" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gyp bustage Created 7 years, 3 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
« no previous file with comments | « ui/events/event_handler.h ('k') | ui/events/event_utils.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_TARGET_H_ 5 #ifndef UI_EVENTS_EVENT_TARGET_H_
6 #define UI_EVENTS_EVENT_TARGET_H_ 6 #define UI_EVENTS_EVENT_TARGET_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/base/ui_export.h"
11 #include "ui/events/event_handler.h" 10 #include "ui/events/event_handler.h"
11 #include "ui/events/events_export.h"
12 12
13 namespace ui { 13 namespace ui {
14 14
15 class EventDispatcher; 15 class EventDispatcher;
16 16
17 class UI_EXPORT EventTarget : public EventHandler { 17 class EVENTS_EXPORT EventTarget : public EventHandler {
18 public: 18 public:
19 typedef std::vector<EventTarget*> EventTargets; 19 typedef std::vector<EventTarget*> EventTargets;
20 20
21 class TestApi { 21 class TestApi {
22 public: 22 public:
23 explicit TestApi(EventTarget* target) : target_(target) {} 23 explicit TestApi(EventTarget* target) : target_(target) {}
24 24
25 const EventHandlerList& pre_target_handlers() { 25 const EventHandlerList& pre_target_handlers() {
26 return target_->pre_target_list_; 26 return target_->pre_target_list_;
27 } 27 }
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 EventHandlerList pre_target_list_; 99 EventHandlerList pre_target_list_;
100 EventHandlerList post_target_list_; 100 EventHandlerList post_target_list_;
101 EventHandler* target_handler_; 101 EventHandler* target_handler_;
102 102
103 DISALLOW_COPY_AND_ASSIGN(EventTarget); 103 DISALLOW_COPY_AND_ASSIGN(EventTarget);
104 }; 104 };
105 105
106 } // namespace ui 106 } // namespace ui
107 107
108 #endif // UI_EVENTS_EVENT_TARGET_H_ 108 #endif // UI_EVENTS_EVENT_TARGET_H_
OLDNEW
« no previous file with comments | « ui/events/event_handler.h ('k') | ui/events/event_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698