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

Issue 2008773002: Begin using ChromeVox Next to read tab and window titles. (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, tfarina, 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

Begin using ChromeVox Next to read tab and window titles. By relying upon the automation tree to make tab and window created, and changed announcements, ChromeVox can compute output that takes into account eh focused node at the time. This also takes care of legacy bugs related to tab switching cutting off tab title announcements. Keystrokes impacted alt+tab: the name the newly focused item, then the root web area, and finally the window gets read ctrl+tab: similar to above, except window isn't included (diff of ancestry chains). This cleaned up some of the previous hacks to focus the root web area. Selection had been set to the tab node; now, ensure the selection target is a descendant of the focused node. ctrl+1-0: same as above cvox+o+o: no longer reads the url of the options page. This is because the page programmatically sets it at around load time. The tabs api handler logic reads out the tab using the url since it has nothing at creation time. BUG=613182 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/ccadbd282a6274b910922cb1a253315964576f5c Cr-Commit-Position: refs/heads/master@{#396314}

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Test fixes. #

Patch Set 6 : Try another fix for test. #

Patch Set 7 : Fix a bunch of tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -82 lines) Patch
M chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc View 1 2 3 4 4 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js View 4 chunks +33 lines, -21 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs View 1 2 3 4 5 6 3 chunks +32 lines, -15 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js View 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js View 1 2 3 4 4 chunks +19 lines, -6 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test_base.js View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js View 1 2 3 4 1 chunk +19 lines, -12 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/testing/common.js View 1 2 3 4 5 6 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/automation/tests/desktop/initial_focus.js View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/accessibility/ax_widget_obj_wrapper.cc View 1 2 2 chunks +7 lines, -2 lines 0 comments Download
M ui/views/accessibility/ax_window_obj_wrapper.cc View 1 2 3 4 1 chunk +2 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (10 generated)
David Tseng
This is still wip because of test failures (mostly flakeyness at the chromevox/testing/ level).
4 years, 7 months ago (2016-05-24 23:13:46 UTC) #4
dmazzoni
lgtm https://codereview.chromium.org/2008773002/diff/20001/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js File chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js (left): https://codereview.chromium.org/2008773002/diff/20001/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js#oldcode54 chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js:54: if (!evt.target.docUrl || evt.target.docUrl != newTabUrl) I think ...
4 years, 7 months ago (2016-05-25 15:18:00 UTC) #8
David Tseng
https://codereview.chromium.org/2008773002/diff/20001/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js File chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js (left): https://codereview.chromium.org/2008773002/diff/20001/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js#oldcode54 chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js:54: if (!evt.target.docUrl || evt.target.docUrl != newTabUrl) On 2016/05/25 15:18:00, ...
4 years, 7 months ago (2016-05-25 16:08:23 UTC) #9
dmazzoni
https://codereview.chromium.org/2008773002/diff/20001/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js File chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js (left): https://codereview.chromium.org/2008773002/diff/20001/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js#oldcode54 chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js:54: if (!evt.target.docUrl || evt.target.docUrl != newTabUrl) On 2016/05/25 16:08:23, ...
4 years, 7 months ago (2016-05-25 16:10:35 UTC) #10
David Tseng
https://codereview.chromium.org/2008773002/diff/20001/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js File chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js (left): https://codereview.chromium.org/2008773002/diff/20001/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js#oldcode54 chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js:54: if (!evt.target.docUrl || evt.target.docUrl != newTabUrl) On 2016/05/25 16:10:35, ...
4 years, 7 months ago (2016-05-25 17:27:28 UTC) #11
dmazzoni
lgtm
4 years, 7 months ago (2016-05-25 21:41:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008773002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008773002/120001
4 years, 7 months ago (2016-05-26 20:50:06 UTC) #15
David Tseng
https://codereview.chromium.org/2008773002/diff/20001/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js File chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js (left): https://codereview.chromium.org/2008773002/diff/20001/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js#oldcode54 chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js:54: if (!evt.target.docUrl || evt.target.docUrl != newTabUrl) On 2016/05/25 17:27:28, ...
4 years, 7 months ago (2016-05-26 20:50:19 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 7 months ago (2016-05-26 23:26:24 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 23:27:52 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ccadbd282a6274b910922cb1a253315964576f5c
Cr-Commit-Position: refs/heads/master@{#396314}

Powered by Google App Engine
This is Rietveld 408576698