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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java

Issue 1913323002: Show the toolbar buttons if closing all incognito tabs w/ the url focused. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java
index f3e9f743c802be34e340f0384b0229fd76808f19..b661bdace9f23ef0646f98c0974f6377510ab7b9 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java
@@ -766,7 +766,10 @@ public class ToolbarPhone extends ToolbarLayout
}
private void updateUrlExpansionAnimation() {
- if (mIsInTabSwitcherMode || isTabSwitcherAnimationRunning()) return;
+ if (mIsInTabSwitcherMode || isTabSwitcherAnimationRunning()) {
+ mToolbarButtonsContainer.setVisibility(VISIBLE);
+ return;
+ }
mLocationBarBackgroundOffset.setEmpty();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698