From 00d8cf0a2a9435c64e2421d761cec2ff32baefc5 Mon Sep 17 00:00:00 2001 From: "beng@google.com" Date: Mon, 11 Aug 2008 17:46:17 +0000 Subject: 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 --- chrome/browser/vista_frame.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'chrome/browser/vista_frame.h') diff --git a/chrome/browser/vista_frame.h b/chrome/browser/vista_frame.h index ac406b5..eba2aa2 100644 --- a/chrome/browser/vista_frame.h +++ b/chrome/browser/vista_frame.h @@ -186,7 +186,6 @@ class VistaFrame : public BrowserWindow, virtual void Init(); virtual void Show(int command, bool adjust_to_fit); - virtual void BrowserDidPaint(HRGN region); virtual void Close(); virtual void* GetPlatformID(); virtual void ShowTabContents(TabContents* contents); @@ -201,14 +200,13 @@ class VistaFrame : public BrowserWindow, virtual gfx::Rect GetNormalBounds(); virtual bool IsMaximized(); virtual gfx::Rect GetBoundsForContentBounds(const gfx::Rect content_rect); - virtual void DetachFromBrowser(); virtual void InfoBubbleShowing(); virtual ToolbarStarToggle* GetStarButton() const; virtual LocationBarView* GetLocationBarView() const; virtual GoButton* GetGoButton() const; virtual BookmarkBarView* GetBookmarkBarView(); virtual BrowserView* GetBrowserView() const; - virtual void Update(TabContents* contents, bool should_restore_state); + virtual void UpdateToolbar(TabContents* contents, bool should_restore_state); virtual void ProfileChanged(Profile* profile); virtual void FocusToolbar(); @@ -394,9 +392,6 @@ class VistaFrame : public BrowserWindow, // whether we are currently processing a view level drag session bool in_drag_session_; - // whether we are waiting for a browser async paint - bool browser_paint_pending_; - // A view positioned at the bottom of the frame. ChromeViews::View* shelf_view_; -- cgit v1.1