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

Unified Diff: third_party/WebKit/Source/web/WebInputEventConversion.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/web/WebInputEventConversion.cpp
diff --git a/third_party/WebKit/Source/web/WebInputEventConversion.cpp b/third_party/WebKit/Source/web/WebInputEventConversion.cpp
index c41f9e64ca2ea778fd52382cb9649c672c2c535f..72ebde36a0ddc91c0ea83d872c6a87d0f45edf45 100644
--- a/third_party/WebKit/Source/web/WebInputEventConversion.cpp
+++ b/third_party/WebKit/Source/web/WebInputEventConversion.cpp
@@ -690,6 +690,7 @@ static WebTouchPoint toWebTouchPoint(const Touch* touch,
point.rotationAngle = touch->rotationAngle();
point.force = touch->force();
point.state = state;
+ point.pointerType = touch->pointerProperties().pointerType;
return point;
}

Powered by Google App Engine
This is Rietveld 408576698