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

Unified Diff: third_party/WebKit/Source/core/input/TouchEventManager.cpp

Issue 1964523002: Fix clientX/Y properties of touch pointer events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix zoom problem Created 4 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 | « third_party/WebKit/Source/core/input/TouchEventManager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/input/TouchEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/TouchEventManager.cpp b/third_party/WebKit/Source/core/input/TouchEventManager.cpp
index 5fbb1139f481d6dcf3bea6dfe89f759b3deb01d4..813053e8804b5718b8810a7a0ec69813cd6217a3 100644
--- a/third_party/WebKit/Source/core/input/TouchEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/TouchEventManager.cpp
@@ -177,7 +177,7 @@ WebInputEventResult TouchEventManager::dispatchTouchEvents(
touchInfo.touchNode.get(),
point.id(),
point.screenPos(),
- touchInfo.adjustedPagePoint,
+ touchInfo.contentPoint,
touchInfo.adjustedRadius,
point.rotationAngle(),
point.force(),
@@ -381,7 +381,7 @@ void TouchEventManager::setAllPropertiesOfTouchInfos(
touchInfo.touchNode = touchNode;
touchInfo.targetFrame = targetFrame;
- touchInfo.adjustedPagePoint = pagePoint.scaledBy(scaleFactor);
+ touchInfo.contentPoint = pagePoint.scaledBy(scaleFactor);
touchInfo.adjustedRadius = touchInfo.point.radius().scaledBy(scaleFactor);
touchInfo.knownTarget = knownTarget;
touchInfo.consumed = false;
« no previous file with comments | « third_party/WebKit/Source/core/input/TouchEventManager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698