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

Issue 1948213002: Add a |skipInitialAncestry| option to tree walking. (Closed)

Created:
4 years, 7 months ago by David Tseng
Modified:
4 years, 7 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a |skipInitialAncestry| option to tree walking. This is important when we want to ignore ancestry chain when moving backward. For example, suppose CV focus is on a static texxt, searching backwards for a heading, we might end up at an ancestor of the static text. This is undesirable. Also, made the phases useful by using them for |skipInitialSubtree| and |skipInitialAncestry|. TEST=AutomationTreeWalkerTest.* In a Google search results page, navigate by headings and links. Ensure consistency of navigation (we should land on the individual links inside of the headings). CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/391186ab1240b07335ecf82e0504441c5db3c9f7 Cr-Commit-Position: refs/heads/master@{#391870}

Patch Set 1 #

Patch Set 2 : Add test #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -3 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js View 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/tree_walker.js View 1 2 5 chunks +22 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/tree_walker_test.extjs View 1 1 chunk +19 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (8 generated)
David Tseng
4 years, 7 months ago (2016-05-04 23:01:02 UTC) #4
dmazzoni
Could you add a test to the tree walker test suite? I think there are ...
4 years, 7 months ago (2016-05-04 23:30:35 UTC) #6
David Tseng
On Wed, May 4, 2016 at 4:30 PM, <dmazzoni@chromium.org> wrote: > Could you add a ...
4 years, 7 months ago (2016-05-04 23:49:46 UTC) #7
David Tseng
On 2016/05/04 23:49:46, David Tseng wrote: > On Wed, May 4, 2016 at 4:30 PM, ...
4 years, 7 months ago (2016-05-05 16:23:35 UTC) #8
dmazzoni
lgtm
4 years, 7 months ago (2016-05-05 16:32:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1948213002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1948213002/40001
4 years, 7 months ago (2016-05-05 18:07:10 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-05 19:34:11 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 19:36:32 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/391186ab1240b07335ecf82e0504441c5db3c9f7
Cr-Commit-Position: refs/heads/master@{#391870}

Powered by Google App Engine
This is Rietveld 408576698