• Hiroki Sato's avatar
    arc-a11y: Use correct scale factor for ARC R · 96979774
    Hiroki Sato authored
    Starting ARC R, ARC natively supports display density. As a result, when
    the client is ARC P, the bounds are always scaled by the default device
    scale factor, and when the client is ARC R and later, the bounds are
    always scaled by the screen scale of the display, which matches the
    browser behavior.
    
    This CL addresses the above change in accessibility layer.
    
    AX-Relnotes: n/a. (a part of preparation for ARC R)
    Bug: b:17251157
    Test: manual. Open PlayStore and change scale factor by ctrl+shift+(+/-) with P and R.
    Change-Id: Iae39adaed7b3fc7a00962edc9da617b89dea7202
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2540266
    Commit-Queue: Hiroki Sato <hirokisato@chromium.org>
    Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
    Reviewed-by: default avatarSara Kato <sarakato@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#829057}
    96979774
geometry_util.h 960 Bytes