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

Unified Diff: ui/events/ozone/evdev/event_converter_evdev.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/mojo/input_devices.mojom ('k') | ui/events/ozone/evdev/event_converter_evdev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « ui/events/devices/mojo/input_devices.mojom ('k') | ui/events/ozone/evdev/event_converter_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698