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

Unified Diff: ui/events/devices/input_device.h

Issue 2827803002: Make Interaction Media Features MQ dynamic on Linux. (Closed)
Patch Set: Updated version Created 3 years, 7 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/devices/input_device.h
diff --git a/ui/events/devices/input_device.h b/ui/events/devices/input_device.h
index 4ef06b38cf868e7279da975065e91fddb904785f..9fd64e56f135a7d981a913a220e77ae6a0b9f749 100644
--- a/ui/events/devices/input_device.h
+++ b/ui/events/devices/input_device.h
@@ -45,6 +45,9 @@ struct EVENTS_DEVICES_EXPORT InputDevice {
// Name of the device.
std::string name;
+ // If the device is enabled, and whether events should be dispatched to UI.
+ bool enabled = false;
+
sadrul 2017/05/17 15:32:17 Can you please also update InputDevice mojom in ui
// The path to the input device in the sysfs filesystem.
base::FilePath sys_path;

Powered by Google App Engine
This is Rietveld 408576698