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

Unified Diff: mojo/converters/blink/blink_input_events_type_converters.cc

Issue 1760183002: Fixed missing pointerTypes for touch events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed line-lengths, added a bug ref. Created 4 years, 9 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: mojo/converters/blink/blink_input_events_type_converters.cc
diff --git a/mojo/converters/blink/blink_input_events_type_converters.cc b/mojo/converters/blink/blink_input_events_type_converters.cc
index 48a214387af8d8fe02fa6f2dd77163089fc0bca5..c7857c924172ed2d3618cc98385f2ac911e8ec1c 100644
--- a/mojo/converters/blink/blink_input_events_type_converters.cc
+++ b/mojo/converters/blink/blink_input_events_type_converters.cc
@@ -74,6 +74,7 @@ void SetWebMouseEventLocation(const mus::mojom::LocationData& location_data,
scoped_ptr<blink::WebInputEvent> BuildWebMouseEventFrom(
const mus::mojom::EventPtr& event) {
scoped_ptr<blink::WebMouseEvent> web_event(new blink::WebMouseEvent);
+ // TODO(crbug.com/593375): Set pointerType from event->pointer_data->kind
if (event->pointer_data && event->pointer_data->location)
SetWebMouseEventLocation(*(event->pointer_data->location), web_event.get());

Powered by Google App Engine
This is Rietveld 408576698