commit | 11a46f4170564e2a53045c09fbcf0a0ed64afde2 | [log] [tgz] |
---|---|---|
author | Charles Meng <charlesmeng@chromium.org> | Thu Apr 17 18:19:54 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 17 18:19:54 2025 |
tree | cfa49eff1adfb8526c3ba16c5b459c2345e4d8d7 | |
parent | 53fa48b9362a598e3da9f968d62dd3d7e6534c5d [diff] |
Simplify some index calculations for split tabs Add a helper GetIndexRangeOfSplit in cases were we don't need the full list of tabs but need to know the indices in a split. Make InsertionBreaksSplitContiguity return a split id, so that it doesn't have to be re-acquired. In RemoveSplitImpl, remove setting the split ids to nullopt as that is already taken care of by Unsplit. Bug: 392950857 Change-Id: Iabec983276dfe3ab1c517c90b50bb47b32c7d87e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6465356 Reviewed-by: Eshwar Stalin <estalin@chromium.org> Reviewed-by: Shibalik Mohapatra <shibalik@chromium.org> Commit-Queue: Charles Meng <charlesmeng@chromium.org> Cr-Commit-Position: refs/heads/main@{#1448449}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.