|
Complete live region support in ChromeVox Next.
Optimizes tree change notifications so that ChromeVox can only listen to
those relevant to live regions, and skip the rest.
Implements aria-atomic, and adds some code to avoid duplicate speaking of
changes to a live region due to multiple tree changes.
Improves speech queue mode support by always flushing following any key
event, queueing otherwise, and doing a category flush when a new live
region event happens 500 ms after the last one.
The last one is a heuristic, but the idea is that multiple live region
events at the same time should queue up, but a new live region some
discrete time later should interrupt previous live region events.
Adds some tests for live region output including flushing and queueing
behavior.
Manual tests include the live region test suite created for Google Docs
testing. There are probably some bugs and corner cases left, but this gets
us a lot closer.
BUG= 478217
Committed: https://crrev.com/eaa0c42071267f268cf77b5fc66fbfc9b12d2e41
Cr-Commit-Position: refs/heads/master@{#362500}
Total comments: 37
Total comments: 28
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1172 lines, -333 lines) |
Patch |
 |
M |
chrome/browser/resources/chromeos/chromevox/chromevox.gni
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/chromevox_tests.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js
|
View
|
1
2
3
4
|
3 chunks |
+18 lines, -36 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
|
View
|
1
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs
|
View
|
1
2
3
4
5
6
|
2 chunks |
+72 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
|
View
|
1
2
3
4
5
|
9 chunks |
+103 lines, -145 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
|
View
|
1
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/chromeos/chromevox/cvox2/background/chromevox_state.js
|
View
|
1
2
3
4
|
1 chunk |
+93 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
|
View
|
1
2
3
4
|
12 chunks |
+29 lines, -26 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/chromeos/chromevox/cvox2/background/live_regions.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+159 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/chromeos/chromevox/cvox2/background/live_regions_test.extjs
|
View
|
1
2
3
|
1 chunk |
+216 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
|
View
|
1
2
3
4
5
|
7 chunks |
+72 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test_base.js
|
View
|
1
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js
|
View
|
1
2
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/chromevox/testing/mock_feedback.js
|
View
|
1
|
2 chunks |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/automation.idl
|
View
|
1
2
3
4
5
6
|
3 chunks |
+41 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/automation_internal.idl
|
View
|
1
2
3
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/automation_internal_custom_bindings.h
|
View
|
1
2
3
4
|
4 chunks |
+18 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/automation_internal_custom_bindings.cc
|
View
|
1
2
3
4
5
6
|
7 chunks |
+136 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/automation_custom_bindings.js
|
View
|
1
2
3
|
5 chunks |
+77 lines, -50 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/automation/sites/tree_change.html
|
View
|
|
1 chunk |
+19 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/automation/tests/tabs/tree_change.js
|
View
|
1
2
3
|
3 chunks |
+20 lines, -2 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 29 (7 generated)
|