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

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

Issue 878673004: Handle Caps Lock for Ozone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove spurious file Created 5 years, 11 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/base/ime/chromeos/ime_keyboard_ozone.cc ('k') | ui/events/ozone/evdev/event_modifiers_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_modifiers_evdev.h
diff --git a/ui/events/ozone/evdev/event_modifiers_evdev.h b/ui/events/ozone/evdev/event_modifiers_evdev.h
index d10bb8cc4db8b2c7b8a547d3a2c4273fb812d3ba..56047117c9a32b68adc78bae464c3363fd14fee8 100644
--- a/ui/events/ozone/evdev/event_modifiers_evdev.h
+++ b/ui/events/ozone/evdev/event_modifiers_evdev.h
@@ -50,6 +50,9 @@ class EVENTS_OZONE_EVDEV_EXPORT EventModifiersEvdev {
// Record key press or release for locking modifier key (caps lock).
void UpdateModifierLock(unsigned int modifier, bool down);
+ // Directly set the state of a locking modifier key (caps lock).
+ void SetModifierLock(unsigned int modifier, bool locked);
+
// Return current flags to use for incoming events.
int GetModifierFlags();
« no previous file with comments | « ui/base/ime/chromeos/ime_keyboard_ozone.cc ('k') | ui/events/ozone/evdev/event_modifiers_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698