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

Unified Diff: ui/events/mojo/event_struct_traits.cc

Issue 2786693002: Add PointerDetails to ui::MouseEvent's constructors (Closed)
Patch Set: mouse constructor Created 3 years, 8 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
« no previous file with comments | « ui/events/events_default.cc ('k') | ui/events/mojo/struct_traits_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/mojo/event_struct_traits.cc
diff --git a/ui/events/mojo/event_struct_traits.cc b/ui/events/mojo/event_struct_traits.cc
index 1a5180fafc29a7c7ba587e1b8c1a0c5a7517f6c5..d2a66cb7837f41faf3db9397a070565e14689e5f 100644
--- a/ui/events/mojo/event_struct_traits.cc
+++ b/ui/events/mojo/event_struct_traits.cc
@@ -295,9 +295,9 @@ bool StructTraits<ui::mojom::EventDataView, EventUniquePtr>::Read(
static_cast<int>(pointer_data->wheel_data->delta_x),
static_cast<int>(
pointer_data->wheel_data->delta_y)),
- ui::PointerEvent::kMousePointerId)
+ ui::MouseEvent::kMousePointerId)
: ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE,
- ui::PointerEvent::kMousePointerId),
+ ui::MouseEvent::kMousePointerId),
ui::EventTimeForNow()));
break;
}
« no previous file with comments | « ui/events/events_default.cc ('k') | ui/events/mojo/struct_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698