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

Unified Diff: ui/events/test/motion_event_test_utils.cc

Issue 1417803002: Pass MotionEvent tilt angles to Blink on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Flattened nested ifs, fixed a special case Created 5 years, 1 month 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/test/motion_event_test_utils.cc
diff --git a/ui/events/test/motion_event_test_utils.cc b/ui/events/test/motion_event_test_utils.cc
index 0a3f80d26efbee7a552588367b416f4238a070e2..ec052913d1e26f60013330464186868e18415a4d 100644
--- a/ui/events/test/motion_event_test_utils.cc
+++ b/ui/events/test/motion_event_test_utils.cc
@@ -213,6 +213,7 @@ std::string ToString(const MotionEvent& event) {
<< event.GetTouchMinor(pi) << ")"
<< "\n Orientation: " << event.GetOrientation(pi)
<< "\n Pressure: " << event.GetPressure(pi)
+ << "\n Tilt: " << event.GetTilt(pi)
<< "\n Tool: " << event.GetToolType(pi);
if (history_size) {
ss << "\n History: [";
« no previous file with comments | « ui/events/gesture_detection/motion_event_generic.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698