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

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
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 4f7b1a796aceae62f12604007d1f6ca6575f1fa1..5e72bb156f66de4826d6d55c72c1c91aa67824a0 100644
--- a/ui/base/events/event_dispatcher_unittest.cc
+++ b/ui/base/events/event_dispatcher_unittest.cc
@@ -78,9 +78,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 {

Powered by Google App Engine
This is Rietveld 408576698