diff options
| author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-11 17:46:17 +0000 |
|---|---|---|
| committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-11 17:46:17 +0000 |
| commit | 00d8cf0a2a9435c64e2421d761cec2ff32baefc5 (patch) | |
| tree | a5193f56be9088f3053ffdca69dfc103b97848c3 /chrome/browser/xp_frame.cc | |
| parent | 621adaae105bee50e90d58accbe4d52f6bd8139c (diff) | |
| download | chromium_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/xp_frame.cc')
| -rw-r--r-- | chrome/browser/xp_frame.cc | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/chrome/browser/xp_frame.cc b/chrome/browser/xp_frame.cc index 94a59a1..e9e69dd 100644 --- a/chrome/browser/xp_frame.cc +++ b/chrome/browser/xp_frame.cc @@ -352,7 +352,6 @@ XPFrame::XPFrame(Browser* browser) saved_window_placement_(false), current_action_(FA_NONE), on_mouse_leave_armed_(false), - browser_paint_pending_(false), previous_cursor_(NULL), minimum_size_(100, 100), shelf_view_(NULL), @@ -1581,10 +1580,6 @@ void XPFrame::ButtonPressed(ChromeViews::BaseButton *sender) { // //////////////////////////////////////////////////////////////////////////////// -void XPFrame::BrowserDidPaint(HRGN rgn) { - browser_paint_pending_ = false; -} - bool XPFrame::ShouldRefreshCurrentTabContents() { if (browser_->tabstrip_model()) { TabContents* tc = browser_->GetSelectedTabContents(); @@ -1829,11 +1824,6 @@ gfx::Rect XPFrame::GetBoundsForContentBounds(const gfx::Rect content_rect) { return r; } -void XPFrame::DetachFromBrowser() { - browser_->tabstrip_model()->RemoveObserver(tabstrip_); - browser_ = NULL; -} - void XPFrame::InfoBubbleShowing() { ignore_ncactivate_ = true; paint_as_active_ = true; @@ -1879,8 +1869,8 @@ BrowserView* XPFrame::GetBrowserView() const { return browser_view_; } -void XPFrame::Update(TabContents* contents, bool should_restore_state) { - browser_view_->Update(contents, should_restore_state); +void XPFrame::UpdateToolbar(TabContents* contents, bool should_restore_state) { + browser_view_->UpdateToolbar(contents, should_restore_state); } void XPFrame::ProfileChanged(Profile* profile) { |
