Index: ui/events/ozone/evdev/event_modifiers_evdev.cc |
diff --git a/ui/events/ozone/evdev/event_modifiers_evdev.cc b/ui/events/ozone/evdev/event_modifiers_evdev.cc |
index 05d4bd6d142c9efe26b3dcaee4f14e38ae48237e..d867b5eef7d03b7204be4e906a8613eacbc7d1ce 100644 |
--- a/ui/events/ozone/evdev/event_modifiers_evdev.cc |
+++ b/ui/events/ozone/evdev/event_modifiers_evdev.cc |
@@ -71,4 +71,9 @@ void EventModifiersEvdev::UpdateFlags(unsigned int modifier) { |
int EventModifiersEvdev::GetModifierFlags() { return modifier_flags_; } |
+// static |
+int EventModifiersEvdev::GetEventFlagFromModifier(unsigned int modifier) { |
+ return kEventFlagFromModifiers[modifier]; |
+} |
+ |
} // namespace ui |