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

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

Issue 2263693003: Add palm suppression feature to EventConverterEvdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stylus
Patch Set: Use enable/disable instead of palm suppression filter Created 4 years, 4 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
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 d49c406f82125caa3f86645308295dd9279d4979..9d9127b3c2c5e7e61c0cdc05e448e270717aa150 100644
--- a/ui/events/ozone/evdev/touch_evdev_types.h
+++ b/ui/events/ozone/evdev/touch_evdev_types.h
@@ -29,6 +29,9 @@ struct EVENTS_OZONE_EVDEV_EXPORT InProgressTouchEvdev {
// new touch is initiated.
bool cancelled = false;
+ // Whether the touch is going to be canceled.
+ bool will_cancel = false;
+
bool was_touching = false;
bool touching = false;
float x = 0;

Powered by Google App Engine
This is Rietveld 408576698