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

Issue 77453013: Add an accessibility alert for incorrect use of some accelerators. (Closed)

Created:
7 years, 1 month ago by Albert Bodenhamer
Modified:
6 years, 4 months ago
Reviewers:
oshima
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, derat+watch_chromium.org, mazda+watch_chromium.org, kalyank, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add an accessibility alert for incorrect use of some accelerators. Some accelerators don't make sense if no windows exist on the desktop. ChromeVox users can end up in this state and not know it. If a window-needing accelerator is issued and there is no window we fire off an accessibiliy event to let the user know there is no window. This CL: Extends Ash's AcceleratorController to intercept these accelerators. Adds the concept of triggering an alert to AccessibilityDelegate. Adds handling in Chrome's AccessibilityDelegate to generate an alert. BUG=217571 TEST=All automated tests pass. Activate ChromeVox and hit ctrl-m with no window open on Chrome OS. You should get an alert telling you to open a window. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236812

Patch Set 1 #

Patch Set 2 : TRying again #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Try to make windows happy. #

Total comments: 6

Patch Set 6 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -2 lines) Patch
M ash/accelerators/accelerator_controller.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/accelerators/accelerator_controller.cc View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M ash/accelerators/accelerator_controller_unittest.cc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M ash/accelerators/accelerator_table.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/accelerators/accelerator_table.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M ash/accessibility_delegate.h View 2 chunks +11 lines, -0 lines 0 comments Download
M ash/default_accessibility_delegate.h View 2 chunks +3 lines, -1 line 0 comments Download
M ash/default_accessibility_delegate.cc View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc View 1 2 3 4 5 3 chunks +25 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_views.cc View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Albert Bodenhamer
Hi Oshima, Would you be willing to review this? Thank you.
7 years, 1 month ago (2013-11-22 00:38:07 UTC) #1
oshima
lgtm with nits https://codereview.chromium.org/77453013/diff/260001/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc File chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc (right): https://codereview.chromium.org/77453013/diff/260001/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc#newcode161 chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc:161: default: nuke default as missing case ...
7 years, 1 month ago (2013-11-22 03:01:40 UTC) #2
Albert Bodenhamer
https://codereview.chromium.org/77453013/diff/260001/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc File chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc (right): https://codereview.chromium.org/77453013/diff/260001/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc#newcode161 chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc:161: default: On 2013/11/22 03:01:40, oshima wrote: > nuke default ...
7 years, 1 month ago (2013-11-22 17:40:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abodenha@chromium.org/77453013/340001
7 years, 1 month ago (2013-11-22 17:41:14 UTC) #4
commit-bot: I haz the power
7 years, 1 month ago (2013-11-22 19:37:25 UTC) #5
Message was sent while issue was closed.
Change committed as 236812

Powered by Google App Engine
This is Rietveld 408576698