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

Unified Diff: ash/wm/user_activity_detector_unittest.cc

Issue 11280290: events: Change gesture-event handler in EventHandler to not return any values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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.cc ('k') | ash/wm/workspace/frame_maximize_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/user_activity_detector_unittest.cc
diff --git a/ash/wm/user_activity_detector_unittest.cc b/ash/wm/user_activity_detector_unittest.cc
index 14c48a1a1d602e9a7e907eb32f2991682394ab9f..2aa0ef5f69453cbd46ebbd4443b53b395f906577 100644
--- a/ash/wm/user_activity_detector_unittest.cc
+++ b/ash/wm/user_activity_detector_unittest.cc
@@ -127,7 +127,8 @@ TEST_F(UserActivityDetectorTest, Basic) {
base::TimeDelta::FromMilliseconds(base::Time::Now().ToDoubleT() * 1000),
ui::GestureEventDetails(ui::ET_GESTURE_TAP, 0, 0), 0U);
SetEventTarget(window.get(), &gesture_event);
- EXPECT_FALSE(detector_->OnGestureEvent(&gesture_event));
+ detector_->OnGestureEvent(&gesture_event);
+ EXPECT_FALSE(gesture_event.handled());
EXPECT_EQ(1, observer_->num_invocations());
observer_->reset_stats();
}
« no previous file with comments | « ash/wm/user_activity_detector.cc ('k') | ash/wm/workspace/frame_maximize_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698