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

Unified Diff: ash/common/system/chromeos/ime_menu/ime_menu_tray.cc

Issue 2560793002: Request focus on IME menu rows after keyboard selection (Closed)
Patch Set: Add |last_item_selected_with_keyboard_| & |focus_current_ime_| Created 4 years 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
Index: ash/common/system/chromeos/ime_menu/ime_menu_tray.cc
diff --git a/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc b/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc
index 8e6967e9e4eb5aed2d3e0a0407b3d7e2548273e1..6f83e1e4e32b8482a0dc261c93ea2a34328cf98f 100644
--- a/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc
+++ b/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc
@@ -307,6 +307,7 @@ class ImeMenuListView : public ImeListView {
bool show_keyboard_toggle,
SingleImeBehavior single_ime_behavior)
: ImeListView(owner, show_keyboard_toggle, ImeListView::HIDE_SINGLE_IME) {
+ SetFocusCurrentIme(true);
}
~ImeMenuListView() override {}

Powered by Google App Engine
This is Rietveld 408576698