summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-11 17:46:17 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-11 17:46:17 +0000
commit00d8cf0a2a9435c64e2421d761cec2ff32baefc5 (patch)
treea5193f56be9088f3053ffdca69dfc103b97848c3 /chrome/browser/browser.h
parent621adaae105bee50e90d58accbe4d52f6bd8139c (diff)
downloadchromium_src-00d8cf0a2a9435c64e2421d761cec2ff32baefc5.zip
chromium_src-00d8cf0a2a9435c64e2421d761cec2ff32baefc5.tar.gz
chromium_src-00d8cf0a2a9435c64e2421d761cec2ff32baefc5.tar.bz2
Another Frame Grab-Bag
- makes more stuff in Browser object only happen if you're using the old frames- rename BrowserWindow::Update to BrowserWindow::UpdateToolbar since that's what it does - add window position save/restore handling to Browser- remove BrowserWindow::BrowserDidPaint - relic from HaloFrame days- remove BrowserWindow::GetRootView - unused and exposes impl details- remove BrowserWindow::DetachFromBrowser - unused - store BrowserView2* on HWND's property list so infobubbles can access it later- both frames (Opaque and AeroGlass) notify the BrowserView2 when they're moved so BrowserView2 can reposition the status bubble and close the autocomplete popup - remove BrowserView2::ShowTabContents - no longer used - remove BrowserView2::ShelfVisibilityChanged - no longer used - remove BrowserView2::SetWindowTitle - never used - remove BrowserView2::ProfileChanged - now called from TabSelectedAt- properly unhook infobars etc when a tab is detached B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@660 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 3af7051..42018257 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -384,6 +384,10 @@ class Browser : public TabStripModelDelegate,
// NEW FRAME METHODS BELOW THIS LINE ONLY... TODO(beng): clean up this file!
+ // Save and restore the window position.
+ void SaveWindowPosition(const gfx::Rect& bounds, bool maximized);
+ void RestoreWindowPosition(gfx::Rect* bounds, bool* maximized);
+
// Gets the FavIcon of the page in the selected tab.
SkBitmap GetCurrentPageIcon() const;
@@ -432,6 +436,7 @@ class Browser : public TabStripModelDelegate,
// Returns the StatusBubble from the current toolbar. It is possible for
// this to return NULL if called before the toolbar has initialized.
+ // TODO(beng): remove this.
StatusBubble* GetStatusBubble();
// Syncs the window title with current_tab_. This may be necessary because
@@ -490,6 +495,7 @@ class Browser : public TabStripModelDelegate,
// 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.