commit | aef2881d5e51076d5256c21c3a673ce96aba8779 | [log] [tgz] |
---|---|---|
author | Nick Diego Yamane <nickdiego@igalia.com> | Wed Sep 11 00:17:31 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 11 00:17:31 2024 |
tree | ce0798ae44ba6a0201188f0b9a901a5fac88cca2 | |
parent | 3e399e186656d3c2c5023655f5618cf2e3f17d4e [diff] |
wayland ui scaling: keep font scale as a separate field in DisplayConfig This is part of the set of changes required to support Desktop Environment's "Large Text" accessibility setting in Chromium's Wayland backend. It actually can also be triggered by other system tools, such as, Gnome Tweaks app as well as gsettings command line tool in Gnome ecosystem. Design doc: https://docs.google.com/document/d/16kwPm_S0dmxe4kSgKY0_PA7aFvkFcftx6AMzNqT8Nfg This CL starts by adapting LinuxUi's DisplayConfig data struct to store and expose the font scale value separately, because, unlike ozone/x11 the wayland backend needs to keep it separate from the surface's scale values. Refer to the DD for further details and rationale. For now, only GtkUi with GTK4 is supported. Additional support for GTK3 seems technically possible though will be done in a separate CL, if possible. R=sky, thomasanderson Bug: 40856031, 41486578 Change-Id: I9704c269ccffac103ab9f79d02e87368b9379160 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5834921 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Nick Yamane <nickdiego@igalia.com> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/main@{#1353682}
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.