commit | 19eeb40db05f8d69285a05482fea11e04ab3c190 | [log] [tgz] |
---|---|---|
author | Tom Anderson <thomasanderson@chromium.org> | Tue Aug 22 17:33:38 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Aug 22 17:33:38 2017 |
tree | e4e850405b5c6645d0c70e69840e72023d4ee009 | |
parent | e45b03432be14890319d4f25029ea48e149c339b [diff] |
Support arbitrary scale factors on GTK-rendered frame buttons Please see the demo: https://bugs.chromium.org/p/chromium/issues/detail?id=753067#c7 Note that the Chrome scale behavior differs slightly from the GTK behavior: GTK does not support fractional scale factors, but Chrome does. As such, GTK never renders a frame button with eg. 1.5x scale. However, since all parts of the Chrome UI (including the tabstrip background) scale this way, we render the frame buttons at 1.5x scale anyway. BUG=753067 R=erg@chromium.org Change-Id: Ief59d3626878d7a7da6f01b7aac2ca8dac802ab2 Reviewed-on: https://chromium-review.googlesource.com/625240 Reviewed-by: Elliot Glaysher <erg@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#496350}
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 .