commit | 32c16e13ea6105aac15531f1f7f721b2d1ae394c | [log] [tgz] |
---|---|---|
author | Vladimir Levin <vmpstr@chromium.org> | Fri Nov 19 20:26:48 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 19 20:26:48 2021 |
tree | a871fe301f6a7300381f10a74dadd4b11c5b512b | |
parent | b123bc6656541ceec57f5acc081cdb8691952b1a [diff] |
cc: Adjust HUD layer to account for zoom-for-dsf. This patch updates the coordinate spaces of the HUD layer so that they work consistently with or without zoom-for-dsf, which uses painted_device_scale_factor and provides sizes in physical coordinates (ie layout coordinates) instead of DIPS. The HUD code paints things in DIPs, so this patch updates the drawing code to also be aware that there are two spaces at play here. R=szager@chromium.org Fixed: 1271475 Change-Id: Ifc3aef4093699fca6007bf291c7d5d4e64992ebc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3293481 Commit-Queue: vmpstr <vmpstr@chromium.org> Reviewed-by: Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/main@{#943632}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.