Index: chrome/browser/ui/panels/panel_window_controller_cocoa.mm |
=================================================================== |
--- chrome/browser/ui/panels/panel_window_controller_cocoa.mm (revision 126246) |
+++ chrome/browser/ui/panels/panel_window_controller_cocoa.mm (working copy) |
@@ -369,9 +369,7 @@ |
return NO; |
} |
- // The tab strip is empty, it's ok to close the window. |
- // Ensure focus goes to previous active browser window. |
- [BrowserWindowUtils selectPreviousActiveBrowserWindow:browser]; |
+ // the tab strip is empty, it's ok to close the window |
return YES; |
} |
@@ -651,4 +649,5 @@ |
// cases when minimized Panel is getting keyboard input, invisibly. |
return canBecomeKeyWindow_; |
} |
+ |
@end |