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

Unified Diff: chrome/browser/android/recently_closed_tabs_bridge.h

Issue 2088443003: Shortcut ctrl+shift+T added on android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: UMA added correctly, nit changes. Created 4 years, 5 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/browser/android/recently_closed_tabs_bridge.h
diff --git a/chrome/browser/android/recently_closed_tabs_bridge.h b/chrome/browser/android/recently_closed_tabs_bridge.h
index 1c0268d2686f819ba47cc62f8d298e31fb718385..46b9d72cb23a1402fd46e7484ddbeb3c4bb374da 100644
--- a/chrome/browser/android/recently_closed_tabs_bridge.h
+++ b/chrome/browser/android/recently_closed_tabs_bridge.h
@@ -13,6 +13,7 @@
#include "components/sessions/core/tab_restore_service_observer.h"
class Profile;
+class TabModel;
// Provides the list of recently closed tabs to Java.
class RecentlyClosedTabsBridge : public sessions::TabRestoreServiceObserver {
@@ -35,6 +36,9 @@ class RecentlyClosedTabsBridge : public sessions::TabRestoreServiceObserver {
const base::android::JavaParamRef<jobject>& jtab,
jint tab_id,
jint j_disposition);
+ jboolean OpenMostRecentlyClosedTab(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj);
void ClearRecentlyClosedTabs(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj);

Powered by Google App Engine
This is Rietveld 408576698