Chromium Code Reviews
DescriptionAccount for device scale factor in automation API bounding boxes.
Bounding boxes from web pages were including the device scale factor
and all other bounding boxes were not. Fix this in the automation API
so that everything ChromeVox deals with is consistently "CSS pixels",
i.e. without the device scale factor applied.
Since we want to apply this factor for some AX trees but not others,
I took this opportunity to consolidate a few "magic constants" and
have a single shared constant for the desktop tree across the
automation API.
BUG=638701
Committed: https://crrev.com/855770d4a1e3c30a3d08f512043b9c04966922e2
Cr-Commit-Position: refs/heads/master@{#421937}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 10 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||