Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Issue 2165053002: Enter overview mode if lone tab is closed using back button (Closed)

Created:
4 years, 5 months ago by mdjones
Modified:
4 years, 5 months ago
Reviewers:
gone
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enter 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
mdjones
ptal
4 years, 5 months ago (2016-07-20 22:06:31 UTC) #2
gone
lgtm % commenting on how this actually addresses the bug.
4 years, 5 months ago (2016-07-20 23:52:20 UTC) #3
mdjones
On 2016/07/20 23:52:20, dfalcantara wrote: > lgtm % commenting on how this actually addresses the ...
4 years, 5 months ago (2016-07-21 01:19:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2165053002/1
4 years, 5 months ago (2016-07-21 15:21:22 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-21 15:52:56 UTC) #9
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 15:54:55 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/eac0d41a7ec0c5654c31a07c4bfe01363a35c329
Cr-Commit-Position: refs/heads/master@{#406863}

Powered by Google App Engine
This is Rietveld 408576698