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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java

Issue 2088443003: Shortcut ctrl+shift+T added on android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes based on review feedback. Created 4 years, 6 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
Index: chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java
index dced692244dd1757add5f1599c5bad8b8c3b3f09..67df33e207522055b1dc06c6b9e8e3e0d2d31ebd 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java
@@ -148,6 +148,12 @@ public interface TabModel extends TabList {
public void cancelTabClosure(int tabId);
/**
+ * Opens the most recently closed tab, bringing the tab back into this model.
+ * If no tabs are currently in the rewound list, restore the tab from tab restore service.
Theresa 2016/06/30 20:50:24 Sorry for the conflicting review comments - we sho
xingliu 2016/07/01 00:30:38 Done.
+ */
+ public void openRecentlyClosedTab();
Theresa 2016/06/30 20:50:24 To match the RecentlyClosedBridge, let's make this
xingliu 2016/07/01 00:30:38 Done.
+
+ /**
* @return The complete {@link TabList} this {@link TabModel} represents. Note that this may
* be different than this actual {@link TabModel} if it supports pending closures
* {@link #supportsPendingClosures()}, as this will include all pending closure tabs.

Powered by Google App Engine
This is Rietveld 408576698