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 4e78d84cf615b9e6e11ce31e76fbd096a6ca9d48..3ca5f0bcd7dbdde687e416c549380f0f9f0255ed 100644 |
--- a/ui/events/ozone/evdev/event_converter_evdev.h |
+++ b/ui/events/ozone/evdev/event_converter_evdev.h |
@@ -55,6 +55,9 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdev |
// Returns true if the converter is used for a touchscreen device. |
virtual bool HasTouchscreen() const; |
+ // Returns true if the converter is used for a device with a caps lock LED. |
+ virtual bool HasCapsLockLed() const; |
+ |
// Returns the size of the touchscreen device if the converter is used for a |
// touchscreen device. |
virtual gfx::Size GetTouchscreenSize() const; |
@@ -69,6 +72,9 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdev |
// Allows all keys to be processed. |
virtual void AllowAllKeys(); |
+ // Update caps lock LED state. |
+ virtual void SetCapsLockLed(bool enabled); |
+ |
// Helper to generate a base::TimeDelta from an input_event's time |
static base::TimeDelta TimeDeltaFromInputEvent(const input_event& event); |