diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-11 17:40:47 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-11 17:40:47 +0000 |
commit | 0d395bdee7ebb251bcabe06f4eb81a0b6570392e (patch) | |
tree | a59abf558af4025be3170af22d1dd23bcb0410ab /chrome/browser/browser.h | |
parent | d0364b99e19f5bd2308003c27a2eabfa9248dd79 (diff) | |
download | chromium_src-0d395bdee7ebb251bcabe06f4eb81a0b6570392e.zip chromium_src-0d395bdee7ebb251bcabe06f4eb81a0b6570392e.tar.gz chromium_src-0d395bdee7ebb251bcabe06f4eb81a0b6570392e.tar.bz2 |
Cleanup and rearrange methods on BrowserWindow interface.
Review URL: http://codereview.chromium.org/10291
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5180 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index d1b93de..1912fd8 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -239,7 +239,6 @@ class Browser : public TabStripModelDelegate, PageTransition::Type transition, bool defer_load, SiteInstance* instance) const; - virtual void ShowApplicationMenu(const gfx::Point& p); virtual bool CanDuplicateContentsAt(int index); virtual void DuplicateContentsAt(int index); virtual void ValidateLoadingAnimations(); @@ -364,14 +363,9 @@ class Browser : public TabStripModelDelegate, typedef std::vector<TabContents*> UnloadListenerVector; - Browser(); - // Closes the frame. void CloseFrame(); - // Returns the root view for this browser. - views::RootView* GetRootView() const; - // Returns what the user's home page is, or the new tab page if the home page // has not been set. GURL GetHomePage(); @@ -394,11 +388,6 @@ class Browser : public TabStripModelDelegate, // TODO(beng): remove this. StatusBubble* GetStatusBubble(); - // Saves the location of the window to the history database. - void SaveWindowPlacementToDatabase(); - // Window placement memory across sessions. - void SaveWindowPlacement(); - // Notifies the history database of the index for all tabs whose index is // >= index. void SyncHistoryWithTabs(int index); @@ -443,11 +432,6 @@ class Browser : public TabStripModelDelegate, // Opens the Bug Report dialog. void OpenBugReportDialog(); - // Removes the InfoBar and download shelf for the specified TabContents, if - // they are presently attached. - // TODO(beng): REMOVE - void RemoveShelvesForTabContents(TabContents* contents); - // Copy the current page URL to the clipboard. void CopyCurrentURLToClipBoard(); @@ -517,6 +501,8 @@ class Browser : public TabStripModelDelegate, // BrowserView, or some more likely place. int initial_show_command_; + // TODO(beng): should be combined with ToolbarModel now that this is the only + // implementation. class BrowserToolbarModel : public ToolbarModel { public: explicit BrowserToolbarModel(Browser* browser) : browser_(browser) { } |