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

Unified Diff: chrome/browser/sessions/chrome_tab_restore_service_client.cc

Issue 2868983003: Ensure History > Recent Tabs restore preserves window disposition. (Closed)
Patch Set: Remove NOTREACHED(). Created 3 years, 4 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/sessions/chrome_tab_restore_service_client.cc
diff --git a/chrome/browser/sessions/chrome_tab_restore_service_client.cc b/chrome/browser/sessions/chrome_tab_restore_service_client.cc
index c5f8a629edf679251b6b56d49b6cc3b6cbcd8eef..1fa9c8c452344bd277c4f679b60aeab1c0febdc5 100644
--- a/chrome/browser/sessions/chrome_tab_restore_service_client.cc
+++ b/chrome/browser/sessions/chrome_tab_restore_service_client.cc
@@ -51,13 +51,17 @@ ChromeTabRestoreServiceClient::ChromeTabRestoreServiceClient(Profile* profile)
ChromeTabRestoreServiceClient::~ChromeTabRestoreServiceClient() {}
sessions::LiveTabContext* ChromeTabRestoreServiceClient::CreateLiveTabContext(
- const std::string& app_name) {
+ const std::string& app_name,
+ const gfx::Rect& bounds,
+ ui::WindowShowState show_state,
+ const std::string& workspace) {
#if defined(OS_ANDROID)
// Android does not support creating a LiveTabContext here.
NOTREACHED();
return nullptr;
#else
- return BrowserLiveTabContext::Create(profile_, app_name);
+ return BrowserLiveTabContext::Create(profile_, app_name, bounds, show_state,
+ workspace);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698