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

Unified Diff: ui/events/gesture_detection/motion_event_generic_unittest.cc

Issue 1147083005: Separate motion event touch geometry orientation from stylus orientation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Aura Created 5 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/gestures/motion_event_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gesture_detection/motion_event_generic_unittest.cc
diff --git a/ui/events/gesture_detection/motion_event_generic_unittest.cc b/ui/events/gesture_detection/motion_event_generic_unittest.cc
index 182eb1e48333c6a7ae1369fc00d4dcac656dad3d..393f74c5b60584bfa0e60b915d77d4c789edf03b 100644
--- a/ui/events/gesture_detection/motion_event_generic_unittest.cc
+++ b/ui/events/gesture_detection/motion_event_generic_unittest.cc
@@ -189,14 +189,14 @@ TEST(MotionEventGenericTest, ToString) {
pointer0.pressure = 10;
pointer0.touch_minor = 15;
pointer0.touch_major = 20;
- pointer0.orientation = 1;
+ pointer0.touch_orientation = 1;
PointerProperties pointer1(4, 5, 6);
pointer1.id = 3;
pointer0.pressure = 25;
pointer0.touch_minor = 30;
pointer0.touch_major = 35;
- pointer0.orientation = -1;
+ pointer0.touch_orientation = -1;
MotionEventGeneric event(MotionEvent::ACTION_MOVE, event_time, pointer0);
event.PushPointer(pointer1);
« no previous file with comments | « ui/events/gesture_detection/motion_event_generic.cc ('k') | ui/events/gestures/motion_event_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698