commit | d96efaa48b18dd1e919b949732858e86c7ae5e2a | [log] [tgz] |
---|---|---|
author | Calder Kitagawa <ckitagawa@chromium.org> | Wed Nov 20 20:31:51 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 20 20:31:51 2024 |
tree | 67e99cabdb8ae4e5e9fbdceb36bd27ad6512eec5 | |
parent | c0d5e7b0ededa1b483857b67bcfc8ad18ce7eac9 [diff] |
[Tab Model] Make TabModel#closeTabs package private This CL moves closeTabs to TabModelInternal making it effectively package private. Former callers have been migrated to go through TabRemover to ensure proper handling of placeholder tabs and dialogs. Future callers should also use TabRemover. The only remaining callers are inside the tabmodel package for TabGroupModelFilterImpl which calls this method via TabRemover subclasses. TabGroupModelFilterImpl is involved to properly handle hiding tab groups. Possible future refactoring of the TabModel may extract much of the tab closure logic into TabRemover (TBD). Bug: 345854441 Change-Id: I83589a0f2429d7c19325888e6f3f5789a70453e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6031834 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Sky Malice <skym@chromium.org> Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org> Cr-Commit-Position: refs/heads/main@{#1385859}
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.