Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
index e550da6559fde6e35acb2cff7a3f2a2591ed244e..4e0eefd4949e0a2160783c0a733b1296f320e75a 100644 |
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
@@ -162,6 +162,9 @@ public class ChromeShellToolbar extends LinearLayout { |
|| event.getAction() != KeyEvent.ACTION_DOWN)) { |
return false; |
} |
+ if (mTabManager.isTabSwitcherVisible()) { |
+ mTabManager.hideTabSwitcher(); |
+ } |
// This will set |mTab| by calling showTab(). |
// TODO(aurimas): Factor out initial tab creation to the activity level. |