OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW2_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW2_H_ |
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW2_H_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW2_H_ |
7 | 7 |
8 #include "chrome/browser/browser_type.h" | 8 #include "chrome/browser/browser_type.h" |
9 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
10 #include "chrome/browser/tabs/tab_strip_model.h" | 10 #include "chrome/browser/tabs/tab_strip_model.h" |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 virtual void InfoBubbleShowing(); | 155 virtual void InfoBubbleShowing(); |
156 virtual void InfoBubbleClosing(); | 156 virtual void InfoBubbleClosing(); |
157 virtual ToolbarStarToggle* GetStarButton() const; | 157 virtual ToolbarStarToggle* GetStarButton() const; |
158 virtual LocationBarView* GetLocationBarView() const; | 158 virtual LocationBarView* GetLocationBarView() const; |
159 virtual GoButton* GetGoButton() const; | 159 virtual GoButton* GetGoButton() const; |
160 virtual BookmarkBarView* GetBookmarkBarView(); | 160 virtual BookmarkBarView* GetBookmarkBarView(); |
161 virtual BrowserView* GetBrowserView() const; | 161 virtual BrowserView* GetBrowserView() const; |
162 virtual void UpdateToolbar(TabContents* contents, bool should_restore_state); | 162 virtual void UpdateToolbar(TabContents* contents, bool should_restore_state); |
163 virtual void FocusToolbar(); | 163 virtual void FocusToolbar(); |
164 virtual void DestroyBrowser(); | 164 virtual void DestroyBrowser(); |
| 165 virtual bool IsBookmarkBarVisible() const; |
165 | 166 |
166 // Overridden from NotificationObserver: | 167 // Overridden from NotificationObserver: |
167 virtual void Observe(NotificationType type, | 168 virtual void Observe(NotificationType type, |
168 const NotificationSource& source, | 169 const NotificationSource& source, |
169 const NotificationDetails& details); | 170 const NotificationDetails& details); |
170 | 171 |
171 // Overridden from TabStripModelObserver: | 172 // Overridden from TabStripModelObserver: |
172 virtual void TabDetachedAt(TabContents* contents, int index); | 173 virtual void TabDetachedAt(TabContents* contents, int index); |
173 virtual void TabSelectedAt(TabContents* old_contents, | 174 virtual void TabSelectedAt(TabContents* old_contents, |
174 TabContents* new_contents, | 175 TabContents* new_contents, |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 static SkBitmap otr_avatar_; | 345 static SkBitmap otr_avatar_; |
345 | 346 |
346 // The delegate for the encoding menu. | 347 // The delegate for the encoding menu. |
347 scoped_ptr<EncodingMenuControllerDelegate> encoding_menu_delegate_; | 348 scoped_ptr<EncodingMenuControllerDelegate> encoding_menu_delegate_; |
348 | 349 |
349 DISALLOW_EVIL_CONSTRUCTORS(BrowserView2); | 350 DISALLOW_EVIL_CONSTRUCTORS(BrowserView2); |
350 }; | 351 }; |
351 | 352 |
352 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW2_H_ | 353 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW2_H_ |
353 | 354 |
OLD | NEW |