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

Unified Diff: ash/wm/user_activity_detector.cc

Issue 11568006: events: Update scroll and touch handlers to not return EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self-nit Created 8 years 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/user_activity_detector_unittest.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 ee6a2b7e7355738c8e12c702049e085d8e9cf6b4..4338accbe294a124bca9a197b6d59ca7273180c9 100644
--- a/ash/wm/user_activity_detector.cc
+++ b/ash/wm/user_activity_detector.cc
@@ -48,14 +48,12 @@ ui::EventResult UserActivityDetector::OnMouseEvent(ui::MouseEvent* event) {
return ui::ER_UNHANDLED;
}
-ui::EventResult UserActivityDetector::OnScrollEvent(ui::ScrollEvent* event) {
+void UserActivityDetector::OnScrollEvent(ui::ScrollEvent* event) {
MaybeNotify();
- return ui::ER_UNHANDLED;
}
-ui::EventResult UserActivityDetector::OnTouchEvent(ui::TouchEvent* event) {
+void UserActivityDetector::OnTouchEvent(ui::TouchEvent* event) {
MaybeNotify();
- return ui::ER_UNHANDLED;
}
void UserActivityDetector::OnGestureEvent(ui::GestureEvent* event) {
« no previous file with comments | « ash/wm/user_activity_detector.h ('k') | ash/wm/user_activity_detector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698