DescriptionEnter overview mode if lone tab is closed using back button
Previously if a tab was closed using the back button and it was the
only tab, the browser would stay in StaticLayout. Opening an external
link after this would trigger the overview mode because there was no
tab, then immediately switch to StaticLayout again. This would leave
the toolbar is a bad state. This change adds a check to determine if
there are any other tabs when closing with the back button, if not
overview mode is opened.
BUG=625077
Committed: https://crrev.com/eac0d41a7ec0c5654c31a07c4bfe01363a35c329
Cr-Commit-Position: refs/heads/master@{#406863}
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|