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

Unified Diff: chrome/browser/app_controller_mac.mm

Issue 1697183003: Remove HostDesktopType from sessions and tab restore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-19
Patch Set: mac Created 4 years, 10 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 | « no previous file | chrome/browser/extensions/api/sessions/sessions_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac.mm
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index e33ff8e3294d57c921d74ea0a51bcdfeb029d68e..6a6b1728a6b49e3732f3d87cf71b1bea2c12254d 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -1072,9 +1072,7 @@ class AppControllerProfileObserver : public ProfileInfoCacheObserver {
CreateBrowser(lastProfile->GetOffTheRecordProfile());
break;
case IDC_RESTORE_TAB:
- // There is only the native desktop on Mac.
- chrome::OpenWindowWithRestoredTabs(lastProfile,
- chrome::HOST_DESKTOP_TYPE_NATIVE);
+ chrome::OpenWindowWithRestoredTabs(lastProfile);
break;
case IDC_OPEN_FILE:
chrome::ExecuteCommand(CreateBrowser(lastProfile), IDC_OPEN_FILE);
« no previous file with comments | « no previous file | chrome/browser/extensions/api/sessions/sessions_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698