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

Unified Diff: chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java

Issue 914933002: Stop/reload button should hide if url bar is focussed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review changes Created 5 years, 10 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 | « chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java
index 93ea15839d1d5ad3eeb8d2d018a475e986a7562d..5cd838c84fc9e593097f0840747833367374c5a6 100644
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java
@@ -227,7 +227,7 @@ public class TabManager extends LinearLayout {
assert parent == mContentViewHolder;
mContentViewHolder.removeView(mTabModelWrapper);
}
- mToolbar.showAddButton(false);
+ mToolbar.updateToolBarButtonState();
}
/**
@@ -245,7 +245,7 @@ public class TabManager extends LinearLayout {
if (mTabModelWrapper.getParent() == null) {
mContentViewHolder.addView(mTabModelWrapper);
}
- mToolbar.showAddButton(true);
+ mToolbar.updateToolBarButtonState();
InputMethodManager mImm = (InputMethodManager) getContext().getSystemService(
Context.INPUT_METHOD_SERVICE);
mImm.hideSoftInputFromWindow(mContentViewHolder.getWindowToken(), 0);
« no previous file with comments | « chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698