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/xp_frame.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'chrome/browser/xp_frame.h') diff --git a/chrome/browser/xp_frame.h b/chrome/browser/xp_frame.h index 6c29efc..92a1ef1 100644 --- a/chrome/browser/xp_frame.h +++ b/chrome/browser/xp_frame.h @@ -97,7 +97,6 @@ class XPFrame : public BrowserWindow, virtual ~XPFrame(); virtual void Init(); virtual void Show(int command, bool adjust_to_fit); - virtual void BrowserDidPaint(HRGN rgn); virtual void Close(); virtual void* GetPlatformID(); virtual void SetAcceleratorTable( @@ -106,7 +105,6 @@ class XPFrame : 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 void InfoBubbleClosing(); virtual ToolbarStarToggle* GetStarButton() const; @@ -114,7 +112,7 @@ class XPFrame : public BrowserWindow, 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(); @@ -469,9 +467,6 @@ class XPFrame : public BrowserWindow, // Initialize static members the first time this is invoked static void InitializeIfNeeded(); - // true if some painting is already pending - bool browser_paint_pending_; - // cursor storage HCURSOR previous_cursor_; -- cgit v1.1