commit | bc73492adf9354d40250b2181c597c65b68f1503 | [log] [tgz] |
---|---|---|
author | Katie Dektar <katie@chromium.org> | Tue Dec 13 16:35:08 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 13 16:35:08 2022 |
tree | 964d98fb02c128d2c730c6d25e35dba7781a5273 | |
parent | 44ad2c0c5978f3dbe0511ca3e18fd3b240adac80 [diff] |
[Magnifier] Fix bug where magnified viewport couldn't reach edges of screen In continuous mouse following mode, the viewport couldn't reach the edges of the screen, and this problem increased with zoom levels. This fixes the bug by realizing that the cursor could never reach the bottom or right of the screen but always remained one DIP within bounds so that it could be drawn. Also cleans up some unused and redundant parts of fullscreen_magnifier_controller. could not reach bottom / right edges of the screen. Bug: b:262037897 Test: New unittest added, would have failed without new code Change-Id: Id7b4863daeb8c186868818576e9ada2b849b07b4 AX-Relnotes: Fixes bug where continuous mouse following mode Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4097121 Reviewed-by: Josiah Krutz <josiahk@google.com> Commit-Queue: Katie Dektar <katie@chromium.org> Cr-Commit-Position: refs/heads/main@{#1082470}
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.