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

Issue 2385343002: Make ChromeVox use child-index based offsets again for selection. (Closed)

Created:
4 years, 2 months ago by David Tseng
Modified:
4 years, 2 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, alemate+watch_chromium.org, oshima+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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ChromeVox use child-index based offsets again for selection. Make further adjustments to selection node and index: - line breaks, when selected, appear to do nothing in Blink/AX; this is either passing offsets before or after the line break. Make the index adjument walk up to the child of the selected node and use its index in parent - adjust nodes accordingly as well - the clipboard text output requires the clipboard actually have the copied text. Since ChromeVox appears to get the ctrl+c first, this is often stale. BUG=642000, 641728 TEST=manual CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/a7d8eae7194d623c7e2ff753f79524da9864af7e Cr-Commit-Position: refs/heads/master@{#424782}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -26 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/command_handler.js View 1 1 chunk +11 lines, -9 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js View 1 4 chunks +38 lines, -10 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs View 1 2 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
David Tseng
4 years, 2 months ago (2016-10-03 21:42:27 UTC) #4
dmazzoni
lgtm If you select a <br> element using JavaScript APIs does it give you a ...
4 years, 2 months ago (2016-10-05 18:25:33 UTC) #6
David Tseng
Wrt selecting br... it works great in the DOM. To be clear, I did: var ...
4 years, 2 months ago (2016-10-10 20:03:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2385343002/1
4 years, 2 months ago (2016-10-10 20:04:53 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/250301)
4 years, 2 months ago (2016-10-10 21:08:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2385343002/20001
4 years, 2 months ago (2016-10-12 16:43:11 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-12 17:42:22 UTC) #16
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 17:49:48 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a7d8eae7194d623c7e2ff753f79524da9864af7e
Cr-Commit-Position: refs/heads/master@{#424782}

Powered by Google App Engine
This is Rietveld 408576698