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

Unified Diff: Source/web/WebInputEventConversion.cpp

Issue 335413003: Added unprefixed version of Touch radius and force (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated review comments Created 6 years, 6 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 | « Source/core/dom/Touch.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebInputEventConversion.cpp
diff --git a/Source/web/WebInputEventConversion.cpp b/Source/web/WebInputEventConversion.cpp
index 96a1b5e9d7314e9e3f6f901933fd96a305539576..fcfc7d974320a609c6b79537fdd8b467138a125d 100644
--- a/Source/web/WebInputEventConversion.cpp
+++ b/Source/web/WebInputEventConversion.cpp
@@ -753,10 +753,10 @@ static void addTouchPoints(const Widget* widget, const AtomicString& touchType,
point.id = touch->identifier();
point.screenPosition = touch->screenLocation();
point.position = convertAbsoluteLocationForRenderObjectFloat(touch->absoluteLocation(), *renderObject);
- point.radiusX = touch->webkitRadiusX();
- point.radiusY = touch->webkitRadiusY();
+ point.radiusX = touch->radiusX();
+ point.radiusY = touch->radiusY();
point.rotationAngle = touch->webkitRotationAngle();
- point.force = touch->webkitForce();
+ point.force = touch->force();
point.state = toWebTouchPointState(touchType);
touchPoints[i] = point;
« no previous file with comments | « Source/core/dom/Touch.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698