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

Issue 2560793002: Request focus on IME menu rows after keyboard selection (Closed)

Created:
4 years ago by Azure Wei
Modified:
4 years ago
Reviewers:
tdanderson
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, shuchen+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Request focus on IME menu rows after keyboard selection to trigger spoken feedback Use keyboard + ChromeVox to operate on opt-in IME menu, the current behavior is: 1) Use 'Tab' key to switch the focused items 2) When the item is focused, ChromeVox will speak '{IME name} Chreck box {Checked/ Not checked}'. 3) Use 'Enter' key to selected the focused item, system will switch IME and close the opt-in IME menu. This CL adds more support the to current behavior: 1) 2) keeps the same. 3) Use 'Enter' key to selected the focused item, system will switch IME and focuses to the new selected IME with spoken feedback '{IME name} Chreck box Checked'. Since the ImeListView will create new items when getting IME refreshing event, we need to save the item selected by 'Enter' key and focuses to it when the view is updated. BUG=642423 TEST=Verified on local build. Committed: https://crrev.com/f031cb52aa8f07aae0542114368215228c6785b6 Cr-Commit-Position: refs/heads/master@{#437404}

Patch Set 1 #

Total comments: 22

Patch Set 2 : Add |last_item_selected_with_keyboard_| & |focus_current_ime_| #

Total comments: 8

Patch Set 3 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -4 lines) Patch
M ash/common/system/chromeos/ime_menu/ime_list_view.h View 1 2 3 chunks +32 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_list_view.cc View 1 2 8 chunks +39 lines, -4 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_menu_tray.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Azure Wei
Please review this CL. Thanks! The change in file: ash/common/system/chromeos/ime_menu/ime_menu_tray.cc is the same with CL: ...
4 years ago (2016-12-07 13:30:24 UTC) #5
tdanderson
Please see my comments below. https://codereview.chromium.org/2560793002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2560793002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode143 ash/common/system/chromeos/ime_menu/ime_list_view.cc:143: if (event.type() == ui::EventType::ET_MOUSE_RELEASED) ...
4 years ago (2016-12-08 00:42:11 UTC) #8
Azure Wei
Please review the new patch set. Thanks! https://codereview.chromium.org/2560793002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2560793002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode143 ash/common/system/chromeos/ime_menu/ime_list_view.cc:143: if (event.type() ...
4 years ago (2016-12-08 13:14:56 UTC) #9
tdanderson
LGTM with the comments addressed. https://codereview.chromium.org/2560793002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2560793002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode309 ash/common/system/chromeos/ime_menu/ime_list_view.cc:309: if (!manager || manager->GetFocusedView() ...
4 years ago (2016-12-08 22:56:38 UTC) #10
Azure Wei
https://codereview.chromium.org/2560793002/diff/20001/ash/common/system/chromeos/ime_menu/ime_list_view.h File ash/common/system/chromeos/ime_menu/ime_list_view.h (right): https://codereview.chromium.org/2560793002/diff/20001/ash/common/system/chromeos/ime_menu/ime_list_view.h#newcode3 ash/common/system/chromeos/ime_menu/ime_list_view.h:3: // found in the LICENSE file. On 2016/12/08 22:56:38, ...
4 years ago (2016-12-09 00:23:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560793002/40001
4 years ago (2016-12-09 00:24:16 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-09 01:19:57 UTC) #18
commit-bot: I haz the power
4 years ago (2016-12-09 01:23:24 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f031cb52aa8f07aae0542114368215228c6785b6
Cr-Commit-Position: refs/heads/master@{#437404}

Powered by Google App Engine
This is Rietveld 408576698