Chromium Code Reviews| 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; |