DescriptionAdd 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 #Messages
Total messages: 5 (0 generated)
|