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

Unified Diff: ui/chromeos/touch_exploration_controller_unittest.cc

Issue 2786693002: Add PointerDetails to ui::MouseEvent's constructors (Closed)
Patch Set: mouse event constructor Created 3 years, 9 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
Index: ui/chromeos/touch_exploration_controller_unittest.cc
diff --git a/ui/chromeos/touch_exploration_controller_unittest.cc b/ui/chromeos/touch_exploration_controller_unittest.cc
index c05e181298cc1a42d93945d1609b9e0132a66dd5..6a91138ea1db3f1734923c9be8c2214caa8dd0dd 100644
--- a/ui/chromeos/touch_exploration_controller_unittest.cc
+++ b/ui/chromeos/touch_exploration_controller_unittest.cc
@@ -536,9 +536,10 @@ TEST_F(TouchExplorationTest, ActualMouseMovesUnaffected) {
generator_->MoveTouch(location_end);
gfx::Point location_real_mouse_move(15, 16);
- ui::MouseEvent mouse_move(ui::ET_MOUSE_MOVED, location_real_mouse_move,
- location_real_mouse_move, ui::EventTimeForNow(), 0,
- 0);
+ ui::MouseEvent mouse_move(
+ ui::ET_MOUSE_MOVED, location_real_mouse_move, location_real_mouse_move,
+ ui::EventTimeForNow(), 0, 0,
+ ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
generator_->Dispatch(&mouse_move);
generator_->ReleaseTouch();
AdvanceSimulatedTimePastTapDelay();

Powered by Google App Engine
This is Rietveld 408576698