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

Unified Diff: ash/display/mouse_cursor_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/display/mouse_cursor_event_filter.h ('k') | ash/drag_drop/drag_drop_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mouse_cursor_event_filter.cc
diff --git a/ash/display/mouse_cursor_event_filter.cc b/ash/display/mouse_cursor_event_filter.cc
index 4fa8fc3b54f77b04bcc1f80af98204ccc637c43e..7486fd79efc50767c96add3b82870d6c476ae123 100644
--- a/ash/display/mouse_cursor_event_filter.cc
+++ b/ash/display/mouse_cursor_event_filter.cc
@@ -92,10 +92,10 @@ bool MouseCursorEventFilter::PreHandleMouseEvent(aura::Window* target,
WarpMouseCursorIfNecessary(target->GetRootWindow(), point_in_screen);
}
-ui::TouchStatus MouseCursorEventFilter::PreHandleTouchEvent(
+ui::EventResult MouseCursorEventFilter::PreHandleTouchEvent(
aura::Window* target,
ui::TouchEvent* event) {
- return ui::TOUCH_STATUS_UNKNOWN;
+ return ui::ER_UNHANDLED;
}
ui::EventResult MouseCursorEventFilter::PreHandleGestureEvent(
« no previous file with comments | « ash/display/mouse_cursor_event_filter.h ('k') | ash/drag_drop/drag_drop_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698