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

Unified Diff: ui/base/ime/chromeos/ime_keyboard_ozone.cc

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 | « chrome/browser/chromeos/events/event_rewriter.cc ('k') | ui/events/ozone/evdev/event_modifiers_evdev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/chromeos/ime_keyboard_ozone.cc
diff --git a/ui/base/ime/chromeos/ime_keyboard_ozone.cc b/ui/base/ime/chromeos/ime_keyboard_ozone.cc
index 4715dd9af4e0a6d180114833d8128320597775ba..5436d6234369230438efb2026c7ee76a66905b7a 100644
--- a/ui/base/ime/chromeos/ime_keyboard_ozone.cc
+++ b/ui/base/ime/chromeos/ime_keyboard_ozone.cc
@@ -35,6 +35,9 @@ bool ImeKeyboardOzone::ReapplyCurrentKeyboardLayout() {
}
void ImeKeyboardOzone::SetCapsLockEnabled(bool enable_caps_lock) {
+ // Inform ImeKeyboard of caps lock state.
+ ImeKeyboard::SetCapsLockEnabled(enable_caps_lock);
+ // Inform Ozone InputController input of caps lock state.
input_controller_->SetCapsLockEnabled(enable_caps_lock);
}
« no previous file with comments | « chrome/browser/chromeos/events/event_rewriter.cc ('k') | ui/events/ozone/evdev/event_modifiers_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698