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

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

Issue 2507503002: Use touch events to report stylus events (Closed)
Patch Set: Created 4 years, 1 month 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: 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 6880e9f0182af133bf53c42bcfb2e49bd2efe24d..fd805198d47b79ff05bdbeb7b93e4bb4bddb7e97 100644
--- a/third_party/WebKit/Source/core/input/TouchEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/TouchEventManager.cpp
@@ -128,9 +128,9 @@ WebInputEventResult TouchEventManager::dispatchTouchEvents(
PlatformTouchPoint::TouchState pointState = point.state();
Touch* touch = Touch::create(
- touchInfo.targetFrame.get(), touchInfo.touchNode.get(), point.id(),
+ touchInfo.targetFrame.get(), touchInfo.touchNode.get(),
point.screenPos(), touchInfo.contentPoint, touchInfo.adjustedRadius,
- point.rotationAngle(), point.force(), touchInfo.region);
+ point.rotationAngle(), touchInfo.region, point.pointerProperties());
// Ensure this target's touch list exists, even if it ends up empty, so
// it can always be passed to TouchEvent::Create below.

Powered by Google App Engine
This is Rietveld 408576698