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

Unified Diff: ash/launcher/launcher_tooltip_manager_unittest.cc

Issue 10834269: gestures: Some more event cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 4 months 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 | « no previous file | ash/wm/system_gesture_event_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_tooltip_manager_unittest.cc
diff --git a/ash/launcher/launcher_tooltip_manager_unittest.cc b/ash/launcher/launcher_tooltip_manager_unittest.cc
index 04d28c14538c9900b746a109599133f6e49b9936..29c17ba143e705e7c70e5f5f85e30a902bb3021f 100644
--- a/ash/launcher/launcher_tooltip_manager_unittest.cc
+++ b/ash/launcher/launcher_tooltip_manager_unittest.cc
@@ -162,7 +162,8 @@ TEST_F(LauncherTooltipManagerTest, ShouldHideForEvents) {
// Should hide for gesture events.
ui::GestureEvent gesture_event(
- ui::ET_GESTURE_BEGIN, 0, 0, ui::EF_NONE, base::Time(),
+ ui::ET_GESTURE_BEGIN, 0, 0, ui::EF_NONE,
+ base::TimeDelta::FromMilliseconds(base::Time::Now().ToDoubleT() * 1000),
ui::GestureEventDetails(ui::ET_GESTURE_BEGIN, 0.0f, 0.0f), 0);
EXPECT_EQ(ui::GESTURE_STATUS_UNKNOWN,
event_filter->PreHandleGestureEvent(root_window, &gesture_event));
« no previous file with comments | « no previous file | ash/wm/system_gesture_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698