| Index: ui/aura/remote_window_tree_host_win.cc
|
| diff --git a/ui/aura/remote_window_tree_host_win.cc b/ui/aura/remote_window_tree_host_win.cc
|
| index 842598c823ffdafd851c9ebed9b692d8be36e67d..d109ea489c3bd3dd90c7ec6725b34712711fca09 100644
|
| --- a/ui/aura/remote_window_tree_host_win.cc
|
| +++ b/ui/aura/remote_window_tree_host_win.cc
|
| @@ -306,8 +306,9 @@ void RemoteWindowTreeHostWin::OnMouseMoved(int32 x, int32 y, int32 flags) {
|
| return;
|
|
|
| gfx::Point location = PointFromNativeEvent(x, y);
|
| - ui::MouseEvent event(ui::ET_MOUSE_MOVED, location, location,
|
| - ui::EventTimeForNow(), flags, 0);
|
| + ui::MouseEvent event(
|
| + ui::ET_MOUSE_MOVED, location, location, ui::EventTimeForNow(), flags, 0,
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| SendEventToProcessor(&event);
|
| }
|
|
|
| @@ -316,7 +317,8 @@ void RemoteWindowTreeHostWin::OnMouseButton(
|
| gfx::Point location = PointFromNativeEvent(params.x, params.y);
|
| ui::MouseEvent mouse_event(
|
| params.event_type, location, location, ui::EventTimeForNow(),
|
| - static_cast<int>(params.flags), static_cast<int>(params.changed_button));
|
| + static_cast<int>(params.flags), static_cast<int>(params.changed_button),
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
|
|
| SetEventFlags(params.flags | key_event_flags());
|
| if (params.event_type == ui::ET_MOUSEWHEEL) {
|
|
|