commit | dfb35c5985c749f1f12574dbf02a0ff8e9dfe5b3 | [log] [tgz] |
---|---|---|
author | Edin Kadric <edin@google.com> | Thu Jan 10 09:25:29 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 10 09:25:29 2019 |
tree | 7199fad520877922fa4338127618e23f6e8080a5 | |
parent | 25ece8e7574112efedb141a28bc3755e3a0173d7 [diff] |
Use monospaced font for passwords in password manager bubble. This sets the label to a monospace font depending on the OS: MacOS - Menlo Windows - Consolas Chrome OS - DejaVu Sans Mono Linux - DejaVu Sans Mono Also involves changing the font list caching in resource_bundle.cc to receive typeface as parameter and add it to the caching key, instead of only supporting a default font. Support for comboboxes will be added in a future CL (which will be able to reuse some of the work done here). Tested on Mac. I have a Linux workstation that I will test it on next, but I don't have Windows and ChromeOS. Screenshots attached to corresponding bug: https://bugs.chromium.org/p/chromium/issues/detail?id=768825 Bug: 768825 Change-Id: Ie94cec7045dafd1346263c383ca08edd5560d8f5 Reviewed-on: https://chromium-review.googlesource.com/c/1378643 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org> Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#621517}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .