| commit | c36cabf87e3b5f855b53a997ece7537020d16de1 | [log] [tgz] |
|---|---|---|
| author | Peter Kvitek <kvitekp@chromium.org> | Mon Feb 03 21:07:41 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 03 21:07:41 2025 |
| tree | 2d44da4fcbb7e91725eb066aefef564337fa4ee3 | |
| parent | c172afb6237bfd03bf37992deaa9ba29ee717f96 [diff] |
[headless] Fix vertical screen coordinates conversion on Macs Cocoa coordinates conversation routines in //ui/gfx/mac/coordinate_conversion.mm use physical screen size which creates problems when running in headless where headless screen has nothing to do with the physical screen. This CL overrides [NSScreen frame] with the headless screen aware implementation. Change-Id: I45670f10288d5d6240e7ba48074cae46e859b6b8 Cq-Include-Trybots: luci.chromium.try:mac12-tests,mac13-tests,mac14-tests Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6221537 Commit-Queue: Peter Kvitek <kvitekp@chromium.org> Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/main@{#1415152}
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.