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

Unified Diff: ui/base/events/event_dispatcher.cc

Issue 11414283: Revert 170641 because it broke mac-debug build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/events/event_dispatcher.h ('k') | ui/base/events/event_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/events/event_dispatcher.cc
===================================================================
--- ui/base/events/event_dispatcher.cc (revision 170644)
+++ ui/base/events/event_dispatcher.cc (working copy)
@@ -24,6 +24,31 @@
return handler->OnEvent(event);
}
+EventResult EventDispatcher::DispatchEventToSingleHandler(EventHandler* handler,
+ KeyEvent* event) {
+ return handler->OnKeyEvent(event);
+}
+
+EventResult EventDispatcher::DispatchEventToSingleHandler(EventHandler* handler,
+ MouseEvent* event) {
+ return handler->OnMouseEvent(event);
+}
+
+EventResult EventDispatcher::DispatchEventToSingleHandler(EventHandler* handler,
+ ScrollEvent* event) {
+ return handler->OnScrollEvent(event);
+}
+
+EventResult EventDispatcher::DispatchEventToSingleHandler(EventHandler* handler,
+ TouchEvent* event) {
+ return handler->OnTouchEvent(event);
+}
+
+EventResult EventDispatcher::DispatchEventToSingleHandler(EventHandler* handler,
+ GestureEvent* event) {
+ return handler->OnGestureEvent(event);
+}
+
////////////////////////////////////////////////////////////////////////////////
// EventDispatcher::ScopedDispatchHelper
« no previous file with comments | « ui/base/events/event_dispatcher.h ('k') | ui/base/events/event_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698