diff options
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r-- | chrome/browser/browser_window.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h index 8f5a0da..4e06efd 100644 --- a/chrome/browser/browser_window.h +++ b/chrome/browser/browser_window.h @@ -40,9 +40,13 @@ class BrowserList; namespace ChromeViews { class RootView; } +class GoButton; +class LocationBarView; +class Profile; class StatusBubble; class TabContents; class TabStrip; +class ToolbarStarToggle; //////////////////////////////////////////////////////////////////////////////// // BrowserWindow interface @@ -174,6 +178,24 @@ class BrowserWindow { DefWindowProc(hwnd, WM_NCACTIVATE, FALSE, 0); } + // Returns the star button. + virtual ToolbarStarToggle* GetStarButton() const = 0; + + // Returns the location bar. + virtual LocationBarView* GetLocationBarView() const = 0; + + // Returns the go button. + virtual GoButton* GetGoButton() const = 0; + + // Updates the toolbar with the state for the specified |contents|. + virtual void Update(TabContents* contents, bool should_restore_state) = 0; + + // Updates the UI with the specified Profile. + virtual void ProfileChanged(Profile* profile) = 0; + + // Focuses the toolbar (for accessibility). + virtual void FocusToolbar() = 0; + protected: friend class BrowserList; virtual void DestroyBrowser() = 0; |