summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_list.h')
-rw-r--r--chrome/browser/browser_list.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/chrome/browser/browser_list.h b/chrome/browser/browser_list.h
index f9d76c3..e7ec88e 100644
--- a/chrome/browser/browser_list.h
+++ b/chrome/browser/browser_list.h
@@ -12,7 +12,6 @@
namespace views {
class AppModalDialogDelegate;
-class Window;
};
class WebContents;
@@ -41,13 +40,6 @@ class BrowserList {
static void AddBrowser(Browser* browser);
static void RemoveBrowser(Browser* browser);
- // Adds and removes non-browser dependent windows. These are windows that are
- // top level, but whose lifetime is associated wtih the existence of at least
- // one active Browser. When the last Browser is destroyed, all open dependent
- // windows are closed.
- static void AddDependentWindow(views::Window* window);
- static void RemoveDependentWindow(views::Window* window);
-
static void AddObserver(Observer* observer);
static void RemoveObserver(Observer* observer);
@@ -121,17 +113,12 @@ class BrowserList {
static bool IsOffTheRecordSessionActive();
private:
- // Closes all registered dependent windows.
- static void CloseAllDependentWindows();
-
// Helper method to remove a browser instance from a list of browsers
static void RemoveBrowserFrom(Browser* browser, list_type* browser_list);
static list_type browsers_;
static std::vector<Observer*> observers_;
static list_type last_active_browsers_;
- typedef std::vector<views::Window*> DependentWindowList;
- static DependentWindowList dependent_windows_;
// Set to the currently showing modal dialog delegate if any, NULL otherwise.
static views::AppModalDialogDelegate* app_modal_dialog_;