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

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

Issue 9692016: Revert 120593 - Ensure the previously active browser window gets the focus after a browser window i… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/ui/cocoa/browser_window_utils.h
===================================================================
--- chrome/browser/ui/cocoa/browser_window_utils.h (revision 126246)
+++ chrome/browser/ui/cocoa/browser_window_utils.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -39,15 +39,6 @@
withTabStrip:(NSView*)tabStripView;
+ (void)activateWindowForController:(NSWindowController*)controller;
-
-// Some browser windows (Panels) use a different NSWindowLevel, causing the
-// system to prefer them over other windows when selecting the next window
-// to give focus to after a browser window is closed.
-// This method selects the previous active browser window instead.
-// |closedBrowser| is the browser that is being closed. Used to ensure it
-// is excluded from the selection process.
-// Does nothing if no previous active window is found.
-+ (void)selectPreviousActiveBrowserWindow:(Browser*)closedBrowser;
@end
#endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_UTILS_H_
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.mm ('k') | chrome/browser/ui/cocoa/browser_window_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698