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

Unified Diff: ui/events/gestures/motion_event_aura.cc

Issue 2860793003: Pass through tilt_x and tilt_y to blink (Closed)
Patch Set: Pass through tilt_x and tilt_y to blink Created 3 years, 7 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/gesture_detection/motion_event_generic.cc ('k') | ui/events/test/motion_event_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gestures/motion_event_aura.cc
diff --git a/ui/events/gestures/motion_event_aura.cc b/ui/events/gestures/motion_event_aura.cc
index 1cac1373e5edb1d74742c4d3efe2c1b6be073c5d..a2ab6870fa798040e0920d99aae9180a764d0ba8 100644
--- a/ui/events/gestures/motion_event_aura.cc
+++ b/ui/events/gestures/motion_event_aura.cc
@@ -37,6 +37,8 @@ PointerProperties GetPointerPropertiesFromTouchEvent(const TouchEvent& touch) {
pointer_properties.id = touch.pointer_details().id;
pointer_properties.pressure = touch.pointer_details().force;
pointer_properties.source_device_id = touch.source_device_id();
+ pointer_properties.tilt_x = touch.pointer_details().tilt_x;
+ pointer_properties.tilt_y = touch.pointer_details().tilt_y;
pointer_properties.SetAxesAndOrientation(touch.pointer_details().radius_x,
touch.pointer_details().radius_y,
« no previous file with comments | « ui/events/gesture_detection/motion_event_generic.cc ('k') | ui/events/test/motion_event_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698