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

Unified Diff: chrome/browser/ui/cocoa/browser_window_utils.mm

Issue 9374025: Preserve minimized windows on shutdown [Mac]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_utils.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_utils.mm b/chrome/browser/ui/cocoa/browser_window_utils.mm
index 60bc78fbfc7b374e826719291c711c2b0b8b016a..5b58fe76fe239048db1a60431f343fa392b272d3 100644
--- a/chrome/browser/ui/cocoa/browser_window_utils.mm
+++ b/chrome/browser/ui/cocoa/browser_window_utils.mm
@@ -200,6 +200,7 @@ const CGFloat kPatternVerticalOffsetNoTabStrip = 3;
for (; iter != end; ++iter) {
Browser* browser = *iter;
if (browser != closedBrowser &&
+ !browser->window()->IsMinimized() &&
[browser->window()->GetNativeHandle() canBecomeKeyWindow]) {
browser->window()->Activate();
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698