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

Unified Diff: ui/chromeos/touch_exploration_controller.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.cc
diff --git a/ui/chromeos/touch_exploration_controller.cc b/ui/chromeos/touch_exploration_controller.cc
index 0e17b546aec7f3505f4d96e13fa83fff60900a42..0fa5a2b3217a0389cc7f585109647d21e146e4bc 100644
--- a/ui/chromeos/touch_exploration_controller.cc
+++ b/ui/chromeos/touch_exploration_controller.cc
@@ -987,7 +987,8 @@ scoped_ptr<ui::Event> TouchExplorationController::CreateMouseMoveEvent(
flags |= ui::EF_COMMAND_DOWN;
return make_scoped_ptr(new ui::MouseEvent(
- ui::ET_MOUSE_MOVED, location, location, ui::EventTimeForNow(), flags, 0));
+ ui::ET_MOUSE_MOVED, location, location, ui::EventTimeForNow(), flags, 0,
+ ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE)));
}
void TouchExplorationController::EnterTouchToMouseMode() {

Powered by Google App Engine
This is Rietveld 408576698