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

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

Issue 689583002: Tab manager view should hide on press of back key (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed null check as no crash is observed. Created 6 years, 2 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/ChromeShellTabModelSelector.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 8dc755b2df7914bd080ca3e9a375b64e5138cc78..272b91d80b0bb6026b123b798752a9d3cab51067 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
@@ -190,6 +190,14 @@ public class TabManager extends LinearLayout {
mTabModelSelector.toggleTabSwitcher();
}
+ public boolean isTabSwitcherVisible() {
+ return mTabModelSelector.isTabSwitcherVisible();
+ }
+
+ public void hideTabSwitcher() {
+ mTabModelSelector.hideTabSwitcher();
+ }
+
/**
* Opens a URL in the current tab if one exists, or in a new tab otherwise.
* @param url The URL to open.
« no previous file with comments | « chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698