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

Unified Diff: ui/chromeos/touch_exploration_controller_unittest.cc

Issue 1260453006: ui: events: Add a class to hold common touch and stylus properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address build problems, add accessor and unit tests. 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
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 1f584ba3e8ac09fcc4534392a64f83727e15d8ee..8ccbe603e447f479cbcae7eb59bbae814abf93b3 100644
--- a/ui/chromeos/touch_exploration_controller_unittest.cc
+++ b/ui/chromeos/touch_exploration_controller_unittest.cc
@@ -542,9 +542,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::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
generator_->Dispatch(&mouse_move);
generator_->ReleaseTouch();
AdvanceSimulatedTimePastTapDelay();

Powered by Google App Engine
This is Rietveld 408576698