commit | 81c30ff901b5ed31a3d20e295bb30b306e874363 | [log] [tgz] |
---|---|---|
author | Bret Sepulveda <bsep@chromium.org> | Mon Aug 05 21:46:55 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Aug 05 21:46:55 2019 |
tree | e5b78d81d5a28145e1d5f8af0c1731eb1361022e | |
parent | 81489123ea151c98ce11ddf1e6db42a1a80cc505 [diff] |
[Tab Groups] Size group headers according to their title size. Previously group headers were sized the same width as tabs, which would give them lots of extra margin around the title chip when the tabs were big and not enough margin when the tabs were small. This patch allows tabstrip layout to use a different TabSizeInfo for each View, and gives group headers a fixed width based on their title chip size. Bug: 905491 Change-Id: I8705581633c1e6bf4a71fd4522a55391e8a4f54e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1721559 Commit-Queue: Bret Sepulveda <bsep@chromium.org> Reviewed-by: Taylor Bergquist <tbergquist@chromium.org> Cr-Commit-Position: refs/heads/master@{#684126}
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 .