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

Unified Diff: ui/base/events/event_target.h

Issue 10960015: aura: Start converting event-filters into event-handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/shared/compound_event_filter_unittest.cc ('k') | ui/base/events/event_target.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/events/event_target.h
diff --git a/ui/base/events/event_target.h b/ui/base/events/event_target.h
index 99eeb93acfa4faaff8e80f5d913eacbc21eeae16..5687c6b5729ea8fbfb203668d7ead309d4472988 100644
--- a/ui/base/events/event_target.h
+++ b/ui/base/events/event_target.h
@@ -32,6 +32,21 @@ class UI_EXPORT EventTarget : public EventHandler {
DISALLOW_COPY_AND_ASSIGN(TestApi);
};
+ class DispatcherApi {
+ public:
+ explicit DispatcherApi(EventTarget* target) : target_(target) {}
+
+ const EventHandlerList& pre_target_list() const {
+ return target_->pre_target_list_;
+ }
+
+ private:
+ DispatcherApi();
+ EventTarget* target_;
+
+ DISALLOW_COPY_AND_ASSIGN(DispatcherApi);
+ };
+
EventTarget();
virtual ~EventTarget();
« no previous file with comments | « ui/aura/shared/compound_event_filter_unittest.cc ('k') | ui/base/events/event_target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698