commit | b58b96c061f7788d3d7a16c9931998ebcf0d6915 | [log] [tgz] |
---|---|---|
author | Tom Anderson <thomasanderson@chromium.org> | Thu Nov 09 20:58:46 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 09 20:58:46 2017 |
tree | acf419bb964d5d9c6ce0e88a82022c1f307a06ec | |
parent | e6fbde070b59cde157b26db7251e80436b14e5a3 [diff] |
Gtk3: Use Chrome's border width instead of GTK's for frame button layout Previously, a GtkHeaderBar's border was used for laying out frame buttons in the tabstrip. However, we never draw a GTK border -- instead, Chrome draws its own 2dp border on all edges. This could lead to button placement being off by 1dp when the gtk border was only 1dp or 0dp wide. Also, small changes in layout code: * Apply the "image-button" class to the avatar button. * Make avatar button layout code more consistent with other buttons. BUG=753067 R=erg@chromium.org,sky@chromium.org Change-Id: I017c4e77892a8a244fb0772ff5432e9b8ef012bf Reviewed-on: https://chromium-review.googlesource.com/759430 Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Elliot Glaysher <erg@chromium.org> Cr-Commit-Position: refs/heads/master@{#515283}
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 .