Disable "undo" snackbar if closing tab with peripheral button (2/2) This CL is a follow-up to https://crrev.com/c/6505981, where the "undo" snackbar was disabled when there were multiple open tabs and a tab was closed with a peripheral button. In this CL, we handle the case where there is only one open tab to close. Bug: 375468032 Change-Id: If41b92c269e944103a19d22ba1f41c326f5f9250 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6514489 Reviewed-by: Zhe Li <zheliooo@google.com> Reviewed-by: Neil Coronado <nemco@google.com> Commit-Queue: Linyu He <linyuh@google.com> Cr-Commit-Position: refs/heads/main@{#1456070}
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.