|
|
Use relative bounding boxes throughout Chrome accessibility
After a series of changes that added support in Blink for relative bounding
boxes for accessible objects, this change switches all of the code in Chrome
to use these relative bounding boxes.
This significantly cleans up the code to convert from local to global
coordinates. Instead of a complicated loop with lots of special cases
for things like out-of-process iframes, it's now a pretty straightforward
process of walking up the tree and applying offsets and transforms.
After this change lands successfully, we can delete the old absolute bounds
computation code from Blink.
BUG= 618120
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/051715aa0384587adcb0614e5404720ad75757ca
Cr-Commit-Position: refs/heads/master@{#412054}
Total comments: 15
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+412 lines, -210 lines) |
Patch |
 |
M |
chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
|
View
|
1
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/chrome_extension_messages.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/automation_internal_custom_bindings.cc
|
View
|
1
2
|
2 chunks |
+29 lines, -25 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/accessibility_tree_formatter_blink.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/browser_accessibility.h
|
View
|
|
3 chunks |
+15 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/browser_accessibility.cc
|
View
|
|
12 chunks |
+57 lines, -61 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/browser_accessibility_android.cc
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/browser_accessibility_auralinux.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/browser_accessibility_cocoa.mm
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/browser_accessibility_manager.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/browser_accessibility_manager.cc
|
View
|
|
4 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/browser_accessibility_manager_android.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/browser_accessibility_manager_unittest.cc
|
View
|
|
6 chunks |
+29 lines, -29 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/browser_accessibility_win.cc
|
View
|
1
|
9 chunks |
+20 lines, -25 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_android.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/common/accessibility_messages.h
|
View
|
|
4 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/accessibility/blink_ax_tree_source.cc
|
View
|
1
|
4 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/accessibility/render_accessibility_impl.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/accessibility/render_accessibility_impl.cc
|
View
|
|
5 chunks |
+22 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/html/iframe-transform-cross-process-expected-blink.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/html/iframe-transform-expected-blink.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/html/iframe-transform-nested-cross-process-expected-blink.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/html/iframe-transform-nested-expected-blink.txt
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/html/iframe-transform-scrolled-expected-blink.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/accessibility/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/accessibility/accessibility.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/accessibility/ax_node.h
|
View
|
1
2
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/accessibility/ax_node.cc
|
View
|
1
2
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/accessibility/ax_node_data.h
|
View
|
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/accessibility/ax_node_data.cc
|
View
|
1
2
|
4 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
A |
ui/accessibility/ax_relative_bounds.h
|
View
|
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/accessibility/ax_relative_bounds.cc
|
View
|
1
2
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/accessibility/ax_tree_combiner.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 29 (16 generated)
|