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

Unified Diff: ui/events/devices/x11/touch_factory_x11.h

Issue 1453813003: Fix a regression in checking the status of the touch events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use the master switch on ozone as well. Created 5 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: ui/events/devices/x11/touch_factory_x11.h
diff --git a/ui/events/devices/x11/touch_factory_x11.h b/ui/events/devices/x11/touch_factory_x11.h
index eb2620b3c89e70bfa58ac842731c6b57307ec825..1f113eaf78e96800cfa3c23fec357828c912be8f 100644
--- a/ui/events/devices/x11/touch_factory_x11.h
+++ b/ui/events/devices/x11/touch_factory_x11.h
@@ -137,6 +137,9 @@ class EVENTS_DEVICES_EXPORT TouchFactory {
// Associate each device ID with its master device ID.
std::map<int, int> device_master_id_list_;
+ // Indicates whether touch events are explicitly disabled.
+ bool touch_events_disabled_;
+
DISALLOW_COPY_AND_ASSIGN(TouchFactory);
};

Powered by Google App Engine
This is Rietveld 408576698