Index: ui/events/ozone/evdev/event_modifiers_evdev.h |
diff --git a/ui/events/ozone/evdev/event_modifiers_evdev.h b/ui/events/ozone/evdev/event_modifiers_evdev.h |
index 4b8f21a76ac93f3464ad39ee46e560042f25fb74..e767758519e7411e853de0591a2f8b58832626cc 100644 |
--- a/ui/events/ozone/evdev/event_modifiers_evdev.h |
+++ b/ui/events/ozone/evdev/event_modifiers_evdev.h |
@@ -53,6 +53,9 @@ class EVENTS_EXPORT EventModifiersEvdev { |
// Return current flags to use for incoming events. |
int GetModifierFlags(); |
+ // Return the mask for the specified modifier. |
+ static int GetEventFlagFromModifier(unsigned int modifier); |
+ |
private: |
// Count of keys pressed for each modifier. |
int modifiers_down_[EVDEV_NUM_MODIFIERS]; |