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

Unified Diff: ash/wm/system_gesture_event_filter.cc

Issue 11364062: ui: Remove TouchStatus in favour of EventResult. (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 | « ash/wm/system_gesture_event_filter.h ('k') | ash/wm/system_modal_container_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/system_gesture_event_filter.cc
diff --git a/ash/wm/system_gesture_event_filter.cc b/ash/wm/system_gesture_event_filter.cc
index bf8279bce90b3aecf4e83305ec28c1c60b7a66b8..7b28385b66311292e22166c9da45f238852b55e7 100644
--- a/ash/wm/system_gesture_event_filter.cc
+++ b/ash/wm/system_gesture_event_filter.cc
@@ -72,12 +72,12 @@ bool SystemGestureEventFilter::PreHandleMouseEvent(aura::Window* target,
return false;
}
-ui::TouchStatus SystemGestureEventFilter::PreHandleTouchEvent(
+ui::EventResult SystemGestureEventFilter::PreHandleTouchEvent(
aura::Window* target,
ui::TouchEvent* event) {
touch_uma_.RecordTouchEvent(target, *event);
long_press_affordance_->ProcessEvent(target, event, event->touch_id());
- return ui::TOUCH_STATUS_UNKNOWN;
+ return ui::ER_UNHANDLED;
}
ui::EventResult SystemGestureEventFilter::PreHandleGestureEvent(
« no previous file with comments | « ash/wm/system_gesture_event_filter.h ('k') | ash/wm/system_modal_container_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698