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

Issue 1277183003: Add ChromeVox panel and implement caption display functionality. (Closed)

Created:
5 years, 4 months ago by dmazzoni
Modified:
5 years, 1 month 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, stevenjb+watch_chromium.org, dmazzoni+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 ChromeVox panel and implement caption display functionality. This patch creates a new HTML background page in the extension that's formatted with a menu button, a caption area for speech and braille, a settings button, and a close button. Currently only the caption part functions - it uses cross-window messages to send either the current speech from TTS, or the current braille text and cells if braille captions are enabled. This patch does not contain the code to show the caption panel on the screen, that will follow. You can test it in the meantime by manually opening up the URL. BUG=420795 Committed: https://crrev.com/2a1101bf6372cc28c09ce359145f3952f00e80f1 Cr-Commit-Position: refs/heads/master@{#358864}

Patch Set 1 #

Total comments: 24

Patch Set 2 : Finish initial implementation for Chrome OS, address feedback #

Total comments: 32

Patch Set 3 : Address feedback from plundblad #

Patch Set 4 : Rebase #

Patch Set 5 : Address last feedback #

Total comments: 14

Patch Set 6 : Address last feedback #

Patch Set 7 : Fix GN build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -62 lines) Patch
M chrome/browser/resources/chromeos/chromevox/BUILD.gn View 1 2 3 4 5 5 chunks +27 lines, -17 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox.gni View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox.gyp View 1 2 3 4 5 6 5 chunks +33 lines, -20 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox/background/braille_captions_background.js View 1 2 2 chunks +15 lines, -7 lines 0 comments Download
D chrome/browser/resources/chromeos/chromevox/chromevox/chromevox-128.png View 1 2 Binary file 0 comments Download
D chrome/browser/resources/chromeos/chromevox/chromevox/chromevox-16.png View 1 2 Binary file 0 comments Download
D chrome/browser/resources/chromeos/chromevox/chromevox/chromevox-19.png View 1 2 Binary file 0 comments Download
D chrome/browser/resources/chromeos/chromevox/chromevox/chromevox-48.png View 1 2 Binary file 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox_assets.gypi View 1 2 2 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox_vars.gypi View 1 2 3 4 5 6 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js View 1 2 3 2 chunks +9 lines, -2 lines 0 comments Download
A chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.html View 1 2 3 4 5 1 chunk +149 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js View 1 2 3 4 5 1 chunk +150 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_command.js View 1 2 3 4 5 1 chunk +46 lines, -0 lines 0 comments Download
A + chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_loader.js View 1 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background.js View 1 4 chunks +18 lines, -0 lines 0 comments Download
A + chrome/browser/resources/chromeos/chromevox/images/chromevox-128.png View 1 2 Binary file 0 comments Download
A + chrome/browser/resources/chromeos/chromevox/images/chromevox-16.png View 1 2 Binary file 0 comments Download
A + chrome/browser/resources/chromeos/chromevox/images/chromevox-19.png View 1 2 Binary file 0 comments Download
A + chrome/browser/resources/chromeos/chromevox/images/chromevox-48.png View 1 2 Binary file 0 comments Download
A chrome/browser/resources/chromeos/chromevox/images/close-19.png View 1 2 Binary file 0 comments Download
A chrome/browser/resources/chromeos/chromevox/images/close-hover-19.png View 1 2 Binary file 0 comments Download
A chrome/browser/resources/chromeos/chromevox/images/options.png View 1 2 Binary file 0 comments Download
A chrome/browser/resources/chromeos/chromevox/images/options-19.png View 1 2 Binary file 0 comments Download
A chrome/browser/resources/chromeos/chromevox/images/options-hover-19.png View 1 2 Binary file 0 comments Download
A chrome/browser/resources/chromeos/chromevox/images/triangle-6.png View 1 2 Binary file 0 comments Download
M chrome/browser/resources/chromeos/chromevox/manifest.json.jinja2 View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/strings/chromevox_strings.grd View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/tools/check_chromevox.py View 1 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 20 (6 generated)
dmazzoni
5 years, 4 months ago (2015-08-07 20:55:36 UTC) #2
David Tseng
https://codereview.chromium.org/1277183003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js (right): https://codereview.chromium.org/1277183003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js#newcode18 chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js:18: * Class to manage the options page. nit: panel ...
5 years, 4 months ago (2015-08-07 21:43:03 UTC) #3
dmazzoni
Ready for another look. Addressed feedback, and finished getting this working with the follow-up changelist ...
5 years, 1 month ago (2015-11-05 23:59:41 UTC) #4
Peter Lundblad
Hi, A bunch of comments and questions below. Were you planning to internationalize this later? ...
5 years, 1 month ago (2015-11-06 15:00:58 UTC) #5
dmazzoni
https://codereview.chromium.org/1277183003/diff/20001/chrome/browser/resources/chromeos/chromevox/braille/braille_display_manager.js File chrome/browser/resources/chromeos/chromevox/braille/braille_display_manager.js (right): https://codereview.chromium.org/1277183003/diff/20001/chrome/browser/resources/chromeos/chromevox/braille/braille_display_manager.js#newcode203 chrome/browser/resources/chromeos/chromevox/braille/braille_display_manager.js:203: cvox.BrailleCaptionsBackground.setContent(brailleText, buf); On 2015/11/06 15:00:57, Peter Lundblad wrote: > ...
5 years, 1 month ago (2015-11-06 21:01:01 UTC) #6
Peter Lundblad
dmazzoni@chromium.org writes: > > https://codereview.chromium.org/1277183003/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js > File > chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js > (right): > > https://codereview.chromium.org/1277183003/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js#newcode440 > ...
5 years, 1 month ago (2015-11-09 15:20:18 UTC) #7
dmazzoni
On 2015/11/09 15:20:18, Peter Lundblad wrote: > > Thanks. Works great, but only if you ...
5 years, 1 month ago (2015-11-09 22:11:38 UTC) #8
Peter Lundblad
lgtm Thought I sent these comments as well yesterday, but aparently not, so here we ...
5 years, 1 month ago (2015-11-10 10:46:36 UTC) #9
dmazzoni
https://codereview.chromium.org/1277183003/diff/80001/chrome/browser/resources/chromeos/chromevox/BUILD.gn File chrome/browser/resources/chromeos/chromevox/BUILD.gn (right): https://codereview.chromium.org/1277183003/diff/80001/chrome/browser/resources/chromeos/chromevox/BUILD.gn#newcode290 chrome/browser/resources/chromeos/chromevox/BUILD.gn:290: compress_js("chromevox2_panel_script") { On 2015/11/10 10:46:36, Peter Lundblad wrote: > ...
5 years, 1 month ago (2015-11-10 17:33:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1277183003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1277183003/100001
5 years, 1 month ago (2015-11-10 17:43:22 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/104890)
5 years, 1 month ago (2015-11-10 17:49:59 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1277183003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1277183003/120001
5 years, 1 month ago (2015-11-10 18:21:14 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 1 month ago (2015-11-10 18:55:17 UTC) #19
commit-bot: I haz the power
5 years, 1 month ago (2015-11-10 18:56:24 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/2a1101bf6372cc28c09ce359145f3952f00e80f1
Cr-Commit-Position: refs/heads/master@{#358864}

Powered by Google App Engine
This is Rietveld 408576698