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

Unified Diff: chrome/browser/defaults.cc

Issue 362016: Mac: don't restore explicitly closed windows. (Closed)
Patch Set: Updated comment per sky's re-review. Created 11 years, 1 month 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 | « chrome/browser/defaults.h ('k') | chrome/browser/sessions/session_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/defaults.cc
diff --git a/chrome/browser/defaults.cc b/chrome/browser/defaults.cc
index 916a50f84b5e26dc70dba95e1332b4760a830371..fdc261a28b18645221343f8faa6dfe6638b0c801 100644
--- a/chrome/browser/defaults.cc
+++ b/chrome/browser/defaults.cc
@@ -47,4 +47,10 @@ const bool kRestorePopups = false;
#endif
+#if defined(OS_MACOSX)
+const bool kBrowserAliveWithNoWindows = true;
+#else
+const bool kBrowserAliveWithNoWindows = false;
+#endif
+
} // namespace browser_defaults
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/sessions/session_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698