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

Issue 1458723002: Finish implementing ChromeVox Next active indicator. (Closed)

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

Description

Finish implementing ChromeVox Next active indicator. 1. Scrolls the page when navigating to a node, and updates the active indicator location when a scroll event is received. 2. Update the active indicator location on every Output, rather than only for speech or only for braille. (It was sometimes getting set and then overwritten with nothing.) 3. Handle subranges within a node with a new boundsForRange API. 4. Automation API: implement boundsForRange, take frame offsets and scroll offsets into account when returning a node's bounding box, and use heuristics to avoid returning an empty bounding box. BUG=537248 TBR=aboxhall Committed: https://crrev.com/05affbfa8212759600659294afb7f077a25b4b95 Cr-Commit-Position: refs/heads/master@{#361160}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Addressed feedback and added tests #

Total comments: 6

Patch Set 3 : Address final nits #

Patch Set 4 : Made test expectations approximate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+398 lines, -25 lines) Patch
M chrome/browser/extensions/api/automation/automation_apitest.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js View 1 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/base_automation_handler.js View 1 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js View 1 6 chunks +22 lines, -8 lines 0 comments Download
M chrome/common/extensions/api/automation.idl View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M chrome/renderer/extensions/automation_internal_custom_bindings.h View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/automation_internal_custom_bindings.cc View 1 2 4 chunks +181 lines, -11 lines 0 comments Download
M chrome/renderer/resources/extensions/automation/automation_node.js View 3 chunks +17 lines, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/automation/sites/bounds_for_range.html View 1 1 chunk +29 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/automation/tests/tabs/bounds_for_range.html View 1 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/automation/tests/tabs/bounds_for_range.js View 1 2 3 1 chunk +86 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (7 generated)
dmazzoni
5 years, 1 month ago (2015-11-18 00:01:12 UTC) #2
dmazzoni
Friendly ping
5 years, 1 month ago (2015-11-19 17:11:34 UTC) #3
Peter Lundblad
You can drop 3. from the description, since that was already done separately. (or rephase ...
5 years, 1 month ago (2015-11-20 11:15:03 UTC) #4
dmazzoni
Addressed feedback, modified comment, and added an automation api test for boundsForRange. https://codereview.chromium.org/1458723002/diff/1/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js File chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js ...
5 years, 1 month ago (2015-11-20 23:35:15 UTC) #6
Peter Lundblad
lgtm https://codereview.chromium.org/1458723002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js (right): https://codereview.chromium.org/1458723002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js#newcode256 chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js:256: * @param {Object} evt nit: I think this ...
5 years, 1 month ago (2015-11-23 13:39:08 UTC) #7
dmazzoni
TBR=aboxhall for chrome/browser/extensions/api/automation/automation_apitest.cc https://codereview.chromium.org/1458723002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js (right): https://codereview.chromium.org/1458723002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js#newcode256 chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js:256: * @param {Object} evt On 2015/11/23 ...
5 years, 1 month ago (2015-11-23 17:22:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1458723002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1458723002/40001
5 years, 1 month ago (2015-11-23 17:24:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1458723002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1458723002/60001
5 years, 1 month ago (2015-11-23 18:27:10 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-23 20:13:34 UTC) #16
commit-bot: I haz the power
5 years, 1 month ago (2015-11-23 20:14:57 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/05affbfa8212759600659294afb7f077a25b4b95
Cr-Commit-Position: refs/heads/master@{#361160}

Powered by Google App Engine
This is Rietveld 408576698