Fix text location bounds computation in ARC a11y
http://crrev/c/1978202 fixed the scaling computation, but ArcAccessibilityHelperBridge::OnGetTextLocationDataResult left unchanged. This method is used in Select-to-Speak to get text location, so we also need to fix it. This CL also refactors bounds computation and adds a new file geometry_util. Bug: b:129680977 Test: manual. (ChromeVox, HighlightInputFocus and S2S with various scale) Change-Id: I091d5a91e083d160b4c20af0529744b9b0613eec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1980265 Commit-Queue: Hiroki Sato <hirokisato@chromium.org> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#729166}
Showing
Please register or sign in to comment