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

Unified Diff: ash/drag_drop/drag_drop_tracker.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: ash/drag_drop/drag_drop_tracker.cc
diff --git a/ash/drag_drop/drag_drop_tracker.cc b/ash/drag_drop/drag_drop_tracker.cc
index e0f81362ba1f226c3be0491d03c47db4e294e694..2a42e3f7f6b2b136203a1028c1c42e164b3b0113 100644
--- a/ash/drag_drop/drag_drop_tracker.cc
+++ b/ash/drag_drop/drag_drop_tracker.cc
@@ -95,7 +95,8 @@ ui::LocatedEvent* DragDropTracker::ConvertEvent(
return new ui::MouseEvent(
event.type(), target_location, target_root_location,
ui::EventTimeForNow(), event.flags(),
- static_cast<const ui::MouseEvent&>(event).changed_button_flags());
+ static_cast<const ui::MouseEvent&>(event).changed_button_flags(),
+ ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698