Index: chrome/browser/browser.h |
=================================================================== |
--- chrome/browser/browser.h (revision 23684) |
+++ chrome/browser/browser.h (working copy) |
@@ -403,6 +403,9 @@ |
static Browser* GetBrowserForController( |
const NavigationController* controller, int* index); |
+ // Retrieve the last active tabbed browser with a profile matching |profile|. |
+ // Creates a new Browser if none are available. |
+ static Browser* GetOrCreateTabbedBrowser(Profile* profile); |
// Helper function to create a new popup window. |
static void BuildPopupWindowHelper(TabContents* source, |
@@ -613,10 +616,6 @@ |
// Assorted utility functions /////////////////////////////////////////////// |
- // Retrieve the last active tabbed browser with the same profile as the |
- // receiving Browser. Creates a new Browser if none are available. |
- Browser* GetOrCreateTabbedBrowser(); |
- |
// The low-level function that other OpenURL...() functions call. This |
// determines the appropriate SiteInstance to pass to AddTabWithURL(), focuses |
// the newly created tab as needed, and does other miscellaneous housekeeping. |