-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M110] Fix being unable to exit tab switcher if last tab is closed by…
… site This happens when user enters overview mode and at the same time tabs are closed by the sites itself. Because the tabs are not closed by user's input, tabPendingClosure is not triggered such that the back press state is out-of-update. Override onFinishingTabClosure in order to correctly trigger notifyBackPressStateChangedInternal in this scenario. (cherry picked from commit 4ff3da2) Bug: 1401162 Change-Id: I2deeb41ff55819b46ea42fd34ad82467b57c3605 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4108260 Commit-Queue: Lijin Shen <lazzzis@google.com> Reviewed-by: Mei Liang <meiliang@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1086021} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4133939 Reviewed-by: Yue Zhang <yuezhanggg@chromium.org> Cr-Commit-Position: refs/branch-heads/5481@{#125} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information
Lijin Shen
authored and
Chromium LUCI CQ
committed
Jan 4, 2023
1 parent
fd17cd0
commit b4f1f23
Showing
2 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters