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

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

Issue 2827803002: Make Interaction Media Features MQ dynamic on Linux. (Closed)
Patch Set: Patch for landing, added the mojo bits 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
« no previous file with comments | « ui/events/devices/device_data_manager.cc ('k') | ui/events/devices/mojo/input_device_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+
// The path to the input device in the sysfs filesystem.
base::FilePath sys_path;
« no previous file with comments | « ui/events/devices/device_data_manager.cc ('k') | ui/events/devices/mojo/input_device_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698