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

Unified Diff: components/html_viewer/touch_handler.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 | « no previous file | content/browser/renderer_host/input/motion_event_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/touch_handler.cc
diff --git a/components/html_viewer/touch_handler.cc b/components/html_viewer/touch_handler.cc
index d555d1f359bcca510bd127b82b3fe917fc0f5103..49d76ae9f868a442a8b1ad747d34fef25f76aa8c 100644
--- a/components/html_viewer/touch_handler.cc
+++ b/components/html_viewer/touch_handler.cc
@@ -25,7 +25,7 @@ void SetPropertiesFromEvent(const mojo::Event& event,
properties->pressure = event.pointer_data->pressure;
properties->touch_major = event.pointer_data->radius_major;
properties->touch_minor = event.pointer_data->radius_minor;
- properties->orientation = event.pointer_data->orientation;
+ properties->touch_orientation = event.pointer_data->orientation;
// TODO(sky): Add support for tool_type.
}
« no previous file with comments | « no previous file | content/browser/renderer_host/input/motion_event_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698