Add a role info dictionary to output.js to resolve role msgs.
commitcdd27239efbd158480fc8bb2f21cf76297aea51f
authordtseng <dtseng@chromium.org>
Thu, 26 Mar 2015 18:10:39 +0000 (26 11:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Mar 2015 18:11:09 +0000 (26 18:11 +0000)
treed69894f6d0a8646c28e620d02ffd7a4e0cb0b5fb
parent12a84a1f98a992375b765757aae2a6cbd916c17a
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).

Review URL: https://codereview.chromium.org/1011913002

Cr-Commit-Position: refs/heads/master@{#322423}
chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js