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

Unified Diff: ui/events/ozone/evdev/event_modifiers_evdev.cc

Issue 193813003: ozone: evdev: Add libgestures bindings for touchpad & mouse support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved 1 space by 1 character Created 6 years, 8 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/ozone/evdev/event_modifiers_evdev.h ('k') | ui/events/ozone/evdev/key_event_converter_evdev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/events/ozone/evdev/event_modifiers_evdev.h ('k') | ui/events/ozone/evdev/key_event_converter_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698