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

Unified Diff: ui/events/ozone/evdev/touch_evdev_types.h

Issue 2507503002: Use touch events to report stylus events (Closed)
Patch Set: I should pay attention... Created 4 years 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: ui/events/ozone/evdev/touch_evdev_types.h
diff --git a/ui/events/ozone/evdev/touch_evdev_types.h b/ui/events/ozone/evdev/touch_evdev_types.h
index 5d81df027ec9553fd19026b512707afd95766c35..2ecc4e911e0bc034315a3b25d8c91a77a698e33a 100644
--- a/ui/events/ozone/evdev/touch_evdev_types.h
+++ b/ui/events/ozone/evdev/touch_evdev_types.h
@@ -42,6 +42,8 @@ struct EVENTS_OZONE_EVDEV_EXPORT InProgressTouchEvdev {
float radius_y = 0;
float pressure = 0;
int tool_code = 0;
+ ui::EventPointerType reported_tool_type =
+ ui::EventPointerType::POINTER_TYPE_TOUCH;
struct ButtonState {
bool down = false;

Powered by Google App Engine
This is Rietveld 408576698