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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/browser_window.h" | 8 #include "chrome/browser/browser_window.h" |
9 #include "chrome/views/client_view.h" | 9 #include "chrome/views/client_view.h" |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual void InfoBubbleClosing(); | 62 virtual void InfoBubbleClosing(); |
63 virtual ToolbarStarToggle* GetStarButton() const; | 63 virtual ToolbarStarToggle* GetStarButton() const; |
64 virtual LocationBarView* GetLocationBarView() const; | 64 virtual LocationBarView* GetLocationBarView() const; |
65 virtual GoButton* GetGoButton() const; | 65 virtual GoButton* GetGoButton() const; |
66 virtual BookmarkBarView* GetBookmarkBarView(); | 66 virtual BookmarkBarView* GetBookmarkBarView(); |
67 virtual BrowserView* GetBrowserView() const; | 67 virtual BrowserView* GetBrowserView() const; |
68 virtual void UpdateToolbar(TabContents* contents, bool should_restore_state); | 68 virtual void UpdateToolbar(TabContents* contents, bool should_restore_state); |
69 virtual void ProfileChanged(Profile* profile); | 69 virtual void ProfileChanged(Profile* profile); |
70 virtual void FocusToolbar(); | 70 virtual void FocusToolbar(); |
71 virtual void DestroyBrowser(); | 71 virtual void DestroyBrowser(); |
| 72 virtual bool IsBookmarkBarVisible() const; |
72 | 73 |
73 /* | 74 /* |
74 // Overridden from ChromeViews::ClientView: | 75 // Overridden from ChromeViews::ClientView: |
75 virtual bool CanClose() const; | 76 virtual bool CanClose() const; |
76 virtual int NonClientHitTest(const gfx::Point& point); | 77 virtual int NonClientHitTest(const gfx::Point& point); |
77 */ | 78 */ |
78 | 79 |
79 // Overridden from ChromeViews::View: | 80 // Overridden from ChromeViews::View: |
80 virtual void Layout(); | 81 virtual void Layout(); |
81 virtual void DidChangeBounds(const CRect& previous, const CRect& current); | 82 virtual void DidChangeBounds(const CRect& previous, const CRect& current); |
(...skipping 17 matching lines...) Expand all Loading... |
99 BrowserWindow* frame_; | 100 BrowserWindow* frame_; |
100 | 101 |
101 // True if we have already been initialized. | 102 // True if we have already been initialized. |
102 bool initialized_; | 103 bool initialized_; |
103 | 104 |
104 DISALLOW_EVIL_CONSTRUCTORS(BrowserView); | 105 DISALLOW_EVIL_CONSTRUCTORS(BrowserView); |
105 }; | 106 }; |
106 | 107 |
107 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 108 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
108 | 109 |
OLD | NEW |