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

Unified Diff: content/browser/renderer_host/ui_events_helper.cc

Issue 755403006: Added experimental Touch.tilt, Touch.tiltDirection support for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused code (event_sender.cc) Created 5 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: content/browser/renderer_host/ui_events_helper.cc
diff --git a/content/browser/renderer_host/ui_events_helper.cc b/content/browser/renderer_host/ui_events_helper.cc
index 9bca63da4e73ed3175edda578c1d66cf47b01282..a61ef79ae6cb7d8c3c5ba0d83d99999c3e09b0ff 100644
--- a/content/browser/renderer_host/ui_events_helper.cc
+++ b/content/browser/renderer_host/ui_events_helper.cc
@@ -81,7 +81,9 @@ bool MakeUITouchEventsFromWebTouchEvents(
point.radiusX,
point.radiusY,
point.rotationAngle,
- point.force);
+ point.force,
+ point.tilt,
+ point.tiltDirection);
uievent->set_latency(touch_with_latency.latency);
list->push_back(uievent);
}
« no previous file with comments | « content/browser/renderer_host/input/web_input_event_util_unittest.cc ('k') | content/common/input/web_input_event_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698