Index: ui/events/ozone/evdev/event_converter_evdev.h |
diff --git a/ui/events/ozone/evdev/event_converter_evdev.h b/ui/events/ozone/evdev/event_converter_evdev.h |
index d9065204c25133d3988af8d37b3b896d6c10798b..76f63fb0b98688fa0439a85ebde57f4d1df611bb 100644 |
--- a/ui/events/ozone/evdev/event_converter_evdev.h |
+++ b/ui/events/ozone/evdev/event_converter_evdev.h |
@@ -53,6 +53,8 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdev |
// input and can update state but must not dispatch any events to UI. |
void SetEnabled(bool enabled); |
+ bool IsEnabled() const; |
+ |
// Cleanup after we stop reading events (release buttons, etc). |
virtual void OnStopped(); |
@@ -129,9 +131,6 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdev |
// Whether we're polling for input on the device. |
bool watching_ = false; |
- // Whether events should be dispatched to UI. |
- bool enabled_ = false; |
- |
// Controller for watching the input fd. |
base::MessagePumpLibevent::FileDescriptorWatcher controller_; |