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

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

Issue 10964051: events: Clean up dispatching code for touch-events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/base/events/event_dispatcher.cc ('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_unittest.cc
diff --git a/ui/base/events/event_dispatcher_unittest.cc b/ui/base/events/event_dispatcher_unittest.cc
index 74e2ef8f6658b0efad7cf1c91ccac6ee9b866866..7033be968bb71b26f1d61a2cab2e2ce38c072f3d 100644
--- a/ui/base/events/event_dispatcher_unittest.cc
+++ b/ui/base/events/event_dispatcher_unittest.cc
@@ -91,9 +91,9 @@ class TestEventHandler : public EventHandler {
return event_result_;
}
- virtual TouchStatus OnTouchEvent(TouchEvent* event) OVERRIDE {
+ virtual EventResult OnTouchEvent(TouchEvent* event) OVERRIDE {
ReceivedEvent(event);
- return ui::TOUCH_STATUS_UNKNOWN;
+ return event_result_;
}
virtual EventResult OnGestureEvent(GestureEvent* event) OVERRIDE {
« no previous file with comments | « ui/base/events/event_dispatcher.cc ('k') | ui/base/events/event_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698