summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index b2addca..0ea7629 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -403,6 +403,9 @@ class Browser : public TabStripModelDelegate,
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 @@ class Browser : public TabStripModelDelegate,
// 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.