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

Unified Diff: ash/wm/user_activity_detector.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/user_activity_detector.h ('k') | ash/wm/window_cycle_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/user_activity_detector.cc
diff --git a/ash/wm/user_activity_detector.cc b/ash/wm/user_activity_detector.cc
index 469da4277b2eb2d65f72713aab60d8f650979892..cf20988562f7047b3c4e003feff7b98212b1b1f3 100644
--- a/ash/wm/user_activity_detector.cc
+++ b/ash/wm/user_activity_detector.cc
@@ -50,11 +50,11 @@ bool UserActivityDetector::PreHandleMouseEvent(aura::Window* target,
return false;
}
-ui::TouchStatus UserActivityDetector::PreHandleTouchEvent(
+ui::EventResult UserActivityDetector::PreHandleTouchEvent(
aura::Window* target,
ui::TouchEvent* event) {
MaybeNotify();
- return ui::TOUCH_STATUS_UNKNOWN;
+ return ui::ER_UNHANDLED;
}
ui::EventResult UserActivityDetector::PreHandleGestureEvent(
« no previous file with comments | « ash/wm/user_activity_detector.h ('k') | ash/wm/window_cycle_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698