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

Issue 2217363002: Use relative bounding boxes throughout Chrome accessibility (Closed)

Created:
4 years, 4 months ago by dmazzoni
Modified:
4 years, 4 months ago
Reviewers:
Tom Sepez, Ted C, aboxhall
CC:
aboxhall+watch_chromium.org, arv+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, extensions-reviews_chromium.org, jam, je_julie, mlamouri+watch-content_chromium.org, nektar+watch_chromium.org, oshima+watch_chromium.org, yuzo+watch_chromium.org, Devlin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Rebase #

Patch Set 3 : Address feedback from aboxhall #

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

Messages

Total messages: 29 (16 generated)
dmazzoni
4 years, 4 months ago (2016-08-05 20:36:34 UTC) #5
aboxhall
I suspect this will fix http://crbug.com/635329 - what do you think?
4 years, 4 months ago (2016-08-12 14:51:22 UTC) #8
aboxhall
https://codereview.chromium.org/2217363002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs File chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs (right): https://codereview.chromium.org/2217363002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs#newcode84 chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs:84: <div role="group"> Why this change? https://codereview.chromium.org/2217363002/diff/1/chrome/renderer/extensions/automation_internal_custom_bindings.cc File chrome/renderer/extensions/automation_internal_custom_bindings.cc (right): ...
4 years, 4 months ago (2016-08-12 16:05:10 UTC) #9
dmazzoni
On Fri, Aug 12, 2016 at 7:51 AM <aboxhall@chromium.org> wrote: > I suspect this will ...
4 years, 4 months ago (2016-08-15 05:02:55 UTC) #10
dmazzoni
Adding OWNERS reviewers now. +rdevlin.cronin for chrome_extension_messages.h +tsepez for content/common/accessibility_messages.h +tedchoc for content/browser/web_contents/web_contents_android.cc https://codereview.chromium.org/2217363002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs File ...
4 years, 4 months ago (2016-08-15 05:31:11 UTC) #12
Tom Sepez
Messages LGTM.
4 years, 4 months ago (2016-08-15 16:31:11 UTC) #17
Devlin
> +rdevlin.cronin for chrome_extension_messages.h messages need an IPC reviewer. Luckily, Tom is just that reviewer. ...
4 years, 4 months ago (2016-08-15 16:35:27 UTC) #18
Ted C
On 2016/08/15 16:35:27, Devlin wrote: > > +rdevlin.cronin for chrome_extension_messages.h > messages need an IPC ...
4 years, 4 months ago (2016-08-15 21:04:51 UTC) #21
aboxhall
lgtm
4 years, 4 months ago (2016-08-15 21:18:00 UTC) #22
aboxhall
lgtm lgtm
4 years, 4 months ago (2016-08-15 21:18:01 UTC) #23
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/2217363002/40001
4 years, 4 months ago (2016-08-15 21:19:01 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-15 21:37:33 UTC) #27
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 21:49:32 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/051715aa0384587adcb0614e5404720ad75757ca
Cr-Commit-Position: refs/heads/master@{#412054}

Powered by Google App Engine
This is Rietveld 408576698