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

Issue 2488373002: Expose caps lock state as an accessible alert (Closed)

Created:
4 years, 1 month ago by David Tseng
Modified:
4 years, 1 month ago
Reviewers:
dmazzoni, oshima
CC:
chromium-reviews, alemate+watch_chromium.org, sadrul, oshima+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, kalyank, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose caps lock state as an accessible alert - handle the output the same way we do for other difficult alert cases. Since the caps lock ui is transient in some cases, this ended up being the cleanest and simplest way - clean up alert output in ChromeVox. Namely, we no longer need to ensure non-interruption since we queue by default. BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/3e14f24d679b76741b6c0ca0bc1510d16febe672 Cr-Commit-Position: refs/heads/master@{#432443}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address feedback. #

Patch Set 3 : Rebqase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -14 lines) Patch
M ash/common/accessibility_types.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/tray_caps_lock.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js View 1 2 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 1 chunk +17 lines, -9 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
David Tseng
oshima for ash, dmazzoni for cvox
4 years, 1 month ago (2016-11-10 20:03:37 UTC) #4
dmazzoni
lgtm with a suggestion https://codereview.chromium.org/2488373002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js (left): https://codereview.chromium.org/2488373002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js#oldcode401 chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js:401: speak: '!doNotInterrupt $role $descendants $state' ...
4 years, 1 month ago (2016-11-10 22:15:18 UTC) #5
oshima
lgtm https://codereview.chromium.org/2488373002/diff/1/ash/common/system/chromeos/tray_caps_lock.cc File ash/common/system/chromeos/tray_caps_lock.cc (right): https://codereview.chromium.org/2488373002/diff/1/ash/common/system/chromeos/tray_caps_lock.cc#newcode171 ash/common/system/chromeos/tray_caps_lock.cc:171: A11Y_ALERT_CAPS_OFF); nit: WmShell::Get()->acces..->TriggerAccessibilityAlert( enabled ? A11Y_ALERT_CAPS_ON : A11Y_ALERT_CAPS_OFF); ...
4 years, 1 month ago (2016-11-10 22:41:40 UTC) #6
David Tseng
https://codereview.chromium.org/2488373002/diff/1/ash/common/system/chromeos/tray_caps_lock.cc File ash/common/system/chromeos/tray_caps_lock.cc (right): https://codereview.chromium.org/2488373002/diff/1/ash/common/system/chromeos/tray_caps_lock.cc#newcode171 ash/common/system/chromeos/tray_caps_lock.cc:171: A11Y_ALERT_CAPS_OFF); On 2016/11/10 22:41:40, oshima wrote: > nit: > ...
4 years, 1 month ago (2016-11-10 23:46:04 UTC) #7
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/2488373002/20001
4 years, 1 month ago (2016-11-15 18:16:10 UTC) #10
commit-bot: I haz the power
Failed to apply patch for ash/common/system/chromeos/tray_caps_lock.cc: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-15 19:09:44 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/2488373002/40001
4 years, 1 month ago (2016-11-15 23:38:10 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/68238)
4 years, 1 month ago (2016-11-16 00:58:12 UTC) #17
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/2488373002/40001
4 years, 1 month ago (2016-11-16 04:00:05 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/273280)
4 years, 1 month ago (2016-11-16 06:25:06 UTC) #21
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/2488373002/40001
4 years, 1 month ago (2016-11-16 07:09:13 UTC) #23
commit-bot: I haz the power
Failed to apply patch for ash/common/accessibility_types.h: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-16 09:32:32 UTC) #25
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 09:34:24 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3e14f24d679b76741b6c0ca0bc1510d16febe672
Cr-Commit-Position: refs/heads/master@{#432443}

Powered by Google App Engine
This is Rietveld 408576698