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

Unified Diff: components/sessions/core/tab_restore_service_helper.h

Issue 2088443003: Shortcut ctrl+shift+T added on android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set window id for android into TabRestoreService::Tab.browser_id, to select the correct android tab… 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: components/sessions/core/tab_restore_service_helper.h
diff --git a/components/sessions/core/tab_restore_service_helper.h b/components/sessions/core/tab_restore_service_helper.h
index 8a9ed4840820534733f49219e5576f76bd5ea0b6..f3eee36e25edd55eae8e6cff7b2e1c53bddbcdde 100644
--- a/components/sessions/core/tab_restore_service_helper.h
+++ b/components/sessions/core/tab_restore_service_helper.h
@@ -77,6 +77,7 @@ class SESSIONS_EXPORT TabRestoreServiceHelper {
void BrowserClosed(LiveTabContext* context);
void ClearEntries();
const Entries& entries() const;
+ Entry* GetMostRecentEntry();
std::vector<LiveTab*> RestoreMostRecentEntry(LiveTabContext* context);
Tab* RemoveTabEntryById(SessionID::id_type id);
std::vector<LiveTab*> RestoreEntryById(LiveTabContext* context,

Powered by Google App Engine
This is Rietveld 408576698