Make AXVirtualView bounds relative to the owner view bounds
This changelist includes the following fixes for virtual views: - Ensures that virtual view accessible bounds are provided for |TreeView| nodes when requested. PopulateAccessibilityData() is responsible for providing the values, but it was being bypassed in GetBoundsRect() and HitTestSync(), which were accessing |custom_data_| instead of calling GetData(). - Converts the virtual view accessible bounds to device pixels by scaling it by the device scale factor. - Makes virtual view accessible bounds robust to changes in the owner view's bounds in screen. This can happen if the host window was moved or resized. Bug: 811277 Change-Id: Icb9379e635e8c09d299a9022f24714f32ffed150 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2129987Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Nektarios Paisios <nektar@chromium.org> Reviewed-by:
Kevin Babbitt <kbabbitt@microsoft.com> Commit-Queue: Brian Liu Xu <brx@microsoft.com> Cr-Commit-Position: refs/heads/master@{#757448}
Showing
Please register or sign in to comment