arc-a11y: Add getter of aura::Window* to AXTreeSourceArc
This change adds AXTreeSourceArc#GetWindow so that we will use it later for calculating scale factors. With the change, AXTreeSourceArc no longer need to track a device scale factor because it can be extracted from the window, and this CL deletes related codes as well. This is a preparation of the next patch. AX-Relnotes: n/a. (a part of preparation for ARC R) Bug: b:17251157 Test: unit tests still passes. Change-Id: I3c3df7801bec70c09a20c86df7b7033b55dafa97 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2543524 Commit-Queue: Hiroki Sato <hirokisato@chromium.org> Reviewed-by:David Tseng <dtseng@chromium.org> Reviewed-by:
Sara Kato <sarakato@chromium.org> Cr-Commit-Position: refs/heads/master@{#829046}
Showing
Please register or sign in to comment