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

Issue 1011913002: Add a role info dictionary to output.js to resolve role msgs. (Closed)

Created:
5 years, 9 months ago by David Tseng
Modified:
5 years, 8 months ago
Reviewers:
Peter Lundblad
CC:
chromium-reviews, dtseng+watch_chromium.org, je_julie(Not used), nkostylev+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, dmazzoni+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a role info dictionary to output.js to resolve role msgs. Currently, ChromeVox Next uses the programmatic string when whenever $role gets used. This cl makes it so $role resolves to a msg id, if one exists. Additionally, the role info object also lists the arcon associated with that role. This allows us to remove a few of the output rules (button, textField). Committed: https://crrev.com/cdd27239efbd158480fc8bb2f21cf76297aea51f Cr-Commit-Position: refs/heads/master@{#322423}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Address feedback #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 1

Patch Set 7 : @private #

Patch Set 8 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -23 lines) Patch
M chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -9 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js View 1 2 3 4 5 6 7 6 chunks +72 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
David Tseng
5 years, 9 months ago (2015-03-16 22:58:12 UTC) #2
Peter Lundblad
https://codereview.chromium.org/1011913002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js (right): https://codereview.chromium.org/1011913002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js#newcode103 chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js:103: msgId: 'LIST_WITH_ITEMS' nit: lower case. https://codereview.chromium.org/1011913002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js#newcode103 chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js:103: msgId: 'LIST_WITH_ITEMS' ...
5 years, 9 months ago (2015-03-17 10:34:09 UTC) #3
David Tseng
plundblad@chromium.org writes: > https://codereview.chromium.org/1011913002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js > File > chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js > (right): > > https://codereview.chromium.org/1011913002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js#newcode103 > chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js:103: ...
5 years, 9 months ago (2015-03-17 16:49:37 UTC) #4
Peter Lundblad
https://codereview.chromium.org/1011913002/diff/40001/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js (right): https://codereview.chromium.org/1011913002/diff/40001/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js#newcode81 chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js:81: * @const {Object<string, {msgId: string, earcon: string}>} This should ...
5 years, 9 months ago (2015-03-18 15:56:36 UTC) #5
David Tseng
plundblad@chromium.org writes: > https://codereview.chromium.org/1011913002/diff/40001/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js > File > chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js > (right): > > https://codereview.chromium.org/1011913002/diff/40001/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js#newcode81 > chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js:81: ...
5 years, 9 months ago (2015-03-18 16:22:49 UTC) #6
Peter Lundblad
Let me know when you've uploaded the latest patchset reflecting your latest comments.
5 years, 9 months ago (2015-03-20 11:26:34 UTC) #7
David Tseng
Did you have a response to the optional object key annotation? The indented-response comment patchset ...
5 years, 9 months ago (2015-03-20 16:04:46 UTC) #8
Peter Lundblad
lgtm (Sorry, had reviewed this yesterday but the code review site 500'd) For the type ...
5 years, 9 months ago (2015-03-25 08:32:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011913002/120001
5 years, 9 months ago (2015-03-25 22:02:59 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/1522)
5 years, 9 months ago (2015-03-25 22:42:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011913002/140001
5 years, 8 months ago (2015-03-26 17:36:21 UTC) #17
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 8 months ago (2015-03-26 18:10:52 UTC) #18
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/cdd27239efbd158480fc8bb2f21cf76297aea51f Cr-Commit-Position: refs/heads/master@{#322423}
5 years, 8 months ago (2015-03-26 18:11:27 UTC) #19
Peter Lundblad
Something in this CL made the role be displayed before the value in an edit ...
5 years, 8 months ago (2015-03-27 15:33:25 UTC) #20
David Tseng
5 years, 8 months ago (2015-03-27 19:25:03 UTC) #21
Message was sent while issue was closed.
Not intended. This is because we removed the text field output rule so the
default rule applies and puts the role before value. I can change the
default rule if that makes sense.

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698