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

Unified Diff: content/browser/renderer_host/input/motion_event_web.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
Index: content/browser/renderer_host/input/motion_event_web.cc
diff --git a/content/browser/renderer_host/input/motion_event_web.cc b/content/browser/renderer_host/input/motion_event_web.cc
index bc47cf8c17734a662dc43ad10a8662340fbed16f..ec210d32f00d600238e2d17ad8efbc9831959125 100644
--- a/content/browser/renderer_host/input/motion_event_web.cc
+++ b/content/browser/renderer_host/input/motion_event_web.cc
@@ -126,7 +126,7 @@ float MotionEventWeb::GetTouchMinor(size_t pointer_index) const {
event_.touches[pointer_index].radiusY);
}
-float MotionEventWeb::GetOrientation(size_t pointer_index) const {
+float MotionEventWeb::GetTouchOrientation(size_t pointer_index) const {
DCHECK_LT(pointer_index, GetPointerCount());
float rotation_angle_rad = event_.touches[pointer_index].rotationAngle

Powered by Google App Engine
This is Rietveld 408576698