Order the groups listed in the tab context menu
Previously this was using TabGroupModel::ListTabGroups(), which pulls from a map: https://cs.chromium.org/chromium/src/chrome/browser/ui/tabs/tab_group_model.cc?l=50&rcl=1158206625559148ac779e86e5d53da50ebf39b4 The consistently ordered experience is better for users, even if it's slightly more expensive. Tested as part of crrev.com/c/1990423, which adds color bubbles that make it more obvious when groups are out of order with the tab strip. Change-Id: Ie6081130f310b1e2501b1fbd50c7848cc5d815ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1992344Reviewed-by:Charlene Yan <cyan@chromium.org> Commit-Queue: Connie Wan <connily@chromium.org> Cr-Commit-Position: refs/heads/master@{#729817}
Showing
Please register or sign in to comment