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

Issue 1319093003: Use new earcons in ChromeVox Next. (Closed)

Created:
5 years, 3 months ago by dmazzoni
Modified:
5 years, 2 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, dmazzoni+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@automation_node_id_fix_2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use new earcons in ChromeVox Next. Add a new Earcon class that generates sounds using the new cvox2 EarconEngine. Swap it in dynamically when we're in a ChromeVox Next mode. Add support for testing earcons to MockFeedback and write an initial test that all of the correct earcons are outputted for controls. BUG=491243 Committed: https://crrev.com/6f3dbc166c172aa3d78e06b181bdb5fb5b09d774 Cr-Commit-Position: refs/heads/master@{#354366}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Address feedback, add test #

Total comments: 6

Patch Set 3 : Add unit test for changes to MockFeedback #

Patch Set 4 : Rebase #

Patch Set 5 : Update test expectations #

Total comments: 24

Patch Set 6 : Correct fix for output tests #

Patch Set 7 : Respond to some feedback #

Patch Set 8 : Init in AbstractEarcons instead #

Total comments: 4

Patch Set 9 : Only read localStorage from background page #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -217 lines) Patch
M chrome/browser/resources/chromeos/chromevox/chromevox.gni View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js View 1 2 3 4 5 6 7 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js View 1 2 3 6 chunks +20 lines, -31 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js View 1 2 3 4 5 6 7 8 9 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs View 1 2 3 4 5 6 7 8 9 1 chunk +46 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/earcon_engine.js View 1 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js View 1 2 3 4 5 6 7 8 1 chunk +121 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js View 1 2 3 4 5 6 7 8 9 8 chunks +32 lines, -37 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs View 1 2 3 4 5 3 chunks +11 lines, -9 lines 0 comments Download
A + chrome/browser/resources/chromeos/chromevox/host/chrome/classic_earcons.js View 1 2 3 4 5 6 7 8 4 chunks +13 lines, -14 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/host/chrome/earcons.js View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -4 lines 0 comments Download
D chrome/browser/resources/chromeos/chromevox/host/chrome/earcons_background.js View 1 1 chunk +0 lines, -81 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/host/chrome/host.js View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/host/interface/abstract_earcons.js View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/testing/mock_feedback.js View 1 2 3 4 5 6 7 8 chunks +66 lines, -17 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/testing/mock_feedback_test.unitjs View 1 2 4 chunks +31 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (8 generated)
dmazzoni
5 years, 3 months ago (2015-08-28 23:42:16 UTC) #2
Peter Lundblad
Hi, A few comments while I took a first look. https://codereview.chromium.org/1319093003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js (right): https://codereview.chromium.org/1319093003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js#newcode719 ...
5 years, 3 months ago (2015-09-07 21:15:53 UTC) #3
dmazzoni
https://codereview.chromium.org/1319093003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js (right): https://codereview.chromium.org/1319093003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js#newcode719 chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js:719: if (mode === ChromeVoxMode.FORCE_NEXT || mode === ChromeVoxMode.NEXT) { ...
5 years, 3 months ago (2015-09-07 23:43:05 UTC) #4
dmazzoni
Ready for review. I addressed the feedback and added a test. https://codereview.chromium.org/1319093003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/earcons_background.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/earcons_background.js (right): ...
5 years, 3 months ago (2015-09-22 19:18:18 UTC) #5
Peter Lundblad
https://codereview.chromium.org/1319093003/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js (right): https://codereview.chromium.org/1319093003/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js#newcode37 chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js:37: NextEarcons.prototype.getName = function() { Why not the object literal ...
5 years, 3 months ago (2015-09-24 14:56:27 UTC) #6
dmazzoni
https://codereview.chromium.org/1319093003/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js (right): https://codereview.chromium.org/1319093003/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js#newcode37 chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js:37: NextEarcons.prototype.getName = function() { On 2015/09/24 14:56:27, Peter Lundblad ...
5 years, 2 months ago (2015-09-28 16:33:05 UTC) #7
Peter Lundblad
https://codereview.chromium.org/1319093003/diff/80001/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js File chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js (right): https://codereview.chromium.org/1319093003/diff/80001/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js#newcode331 chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js:331: cvox.ChromeVox.earcons.enabled = msg['value']; We now have two copies of ...
5 years, 2 months ago (2015-09-29 09:27:34 UTC) #8
dmazzoni
Fixed the output bug and other nits, but I still need to initialize the enabled ...
5 years, 2 months ago (2015-10-01 20:41:43 UTC) #9
Peter Lundblad
dmazzoni@chromium.org writes: > Fixed the output bug and other nits, but I still need to ...
5 years, 2 months ago (2015-10-02 08:59:37 UTC) #10
dmazzoni
https://codereview.chromium.org/1319093003/diff/80001/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js File chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js (right): https://codereview.chromium.org/1319093003/diff/80001/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js#newcode331 chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js:331: cvox.ChromeVox.earcons.enabled = msg['value']; On 2015/09/29 09:27:33, Peter Lundblad wrote: ...
5 years, 2 months ago (2015-10-13 23:07:03 UTC) #11
Peter Lundblad
lgtm https://codereview.chromium.org/1319093003/diff/140001/chrome/browser/resources/chromeos/chromevox/host/interface/abstract_earcons.js File chrome/browser/resources/chromeos/chromevox/host/interface/abstract_earcons.js (right): https://codereview.chromium.org/1319093003/diff/140001/chrome/browser/resources/chromeos/chromevox/host/interface/abstract_earcons.js#newcode55 chrome/browser/resources/chromeos/chromevox/host/interface/abstract_earcons.js:55: if (localStorage['earcons'] === 'false') { If we're running ...
5 years, 2 months ago (2015-10-14 12:27:26 UTC) #12
Peter Lundblad
lgtm dmazzoni@chromium.org writes: > > https://codereview.chromium.org/1319093003/diff/80001/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js > File > chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js > (right): > > https://codereview.chromium.org/1319093003/diff/80001/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js#newcode331 ...
5 years, 2 months ago (2015-10-14 12:32:54 UTC) #13
dmazzoni
https://codereview.chromium.org/1319093003/diff/140001/chrome/browser/resources/chromeos/chromevox/host/interface/abstract_earcons.js File chrome/browser/resources/chromeos/chromevox/host/interface/abstract_earcons.js (right): https://codereview.chromium.org/1319093003/diff/140001/chrome/browser/resources/chromeos/chromevox/host/interface/abstract_earcons.js#newcode55 chrome/browser/resources/chromeos/chromevox/host/interface/abstract_earcons.js:55: if (localStorage['earcons'] === 'false') { On 2015/10/14 12:27:26, Peter ...
5 years, 2 months ago (2015-10-14 16:13:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1319093003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1319093003/160001
5 years, 2 months ago (2015-10-14 16:37:03 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/109930) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-10-14 16:38:50 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1319093003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1319093003/180001
5 years, 2 months ago (2015-10-15 20:43:28 UTC) #24
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 2 months ago (2015-10-15 21:39:33 UTC) #25
commit-bot: I haz the power
5 years, 2 months ago (2015-10-15 21:41:01 UTC) #26
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/6f3dbc166c172aa3d78e06b181bdb5fb5b09d774
Cr-Commit-Position: refs/heads/master@{#354366}

Powered by Google App Engine
This is Rietveld 408576698