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

Unified Diff: services/window_manager/view_targeter_unittest.cc

Issue 1287103004: Sync ui/events to chromium @ https://codereview.chromium.org/1210203002 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 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 | « services/window_manager/view_targeter.cc ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/window_manager/view_targeter_unittest.cc
diff --git a/services/window_manager/view_targeter_unittest.cc b/services/window_manager/view_targeter_unittest.cc
index 298ce2755c744635b094b560ebfdc72c3d8fc5de..f0b86c4f90dd965938fdd3ccd76571315cb883d8 100644
--- a/services/window_manager/view_targeter_unittest.cc
+++ b/services/window_manager/view_targeter_unittest.cc
@@ -4,6 +4,7 @@
#include "services/window_manager/view_targeter.h"
+#include "base/time/time.h"
#include "services/window_manager/basic_focus_rules.h"
#include "services/window_manager/capture_controller.h"
#include "services/window_manager/focus_controller.h"
@@ -55,7 +56,8 @@ TEST_F(ViewTargeterTest, Basic) {
one.target()->AddPreTargetHandler(&handler);
ui::MouseEvent press(ui::ET_MOUSE_PRESSED, gfx::Point(20, 20),
- gfx::Point(20, 20), ui::EF_NONE, ui::EF_NONE);
+ gfx::Point(20, 20), base::TimeDelta(),
+ ui::EF_NONE, ui::EF_NONE);
ui::EventDispatchDetails details =
view_event_dispatcher_->OnEventFromSource(&press);
ASSERT_FALSE(details.dispatcher_destroyed);
« no previous file with comments | « services/window_manager/view_targeter.cc ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698