OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // background image over that view. | 154 // background image over that view. |
155 gfx::Point OffsetPointForToolbarBackgroundImage( | 155 gfx::Point OffsetPointForToolbarBackgroundImage( |
156 const gfx::Point& point) const; | 156 const gfx::Point& point) const; |
157 | 157 |
158 // Accessor for the TabStrip. | 158 // Accessor for the TabStrip. |
159 TabStrip* tabstrip() { return tabstrip_; } | 159 TabStrip* tabstrip() { return tabstrip_; } |
160 | 160 |
161 // Accessor for the Toolbar. | 161 // Accessor for the Toolbar. |
162 ToolbarView* toolbar() { return toolbar_; } | 162 ToolbarView* toolbar() { return toolbar_; } |
163 | 163 |
| 164 // Accessor for the InfobarContainer. |
| 165 InfoBarContainerView* infobar_container() { return infobar_container_; } |
| 166 |
164 // Returns true if various window components are visible. | 167 // Returns true if various window components are visible. |
165 virtual bool IsTabStripVisible() const; | 168 virtual bool IsTabStripVisible() const; |
166 | 169 |
167 // Returns true if the profile associated with this Browser window is | 170 // Returns true if the profile associated with this Browser window is |
168 // incognito. | 171 // incognito. |
169 bool IsOffTheRecord() const; | 172 bool IsOffTheRecord() const; |
170 | 173 |
171 // Returns true if the profile associated with this Browser window is | 174 // Returns true if the profile associated with this Browser window is |
172 // a guest session. | 175 // a guest session. |
173 bool IsGuestSession() const; | 176 bool IsGuestSession() const; |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 gfx::ScopedSysColorChangeListener color_change_listener_; | 752 gfx::ScopedSysColorChangeListener color_change_listener_; |
750 | 753 |
751 scoped_ptr<InstantPreviewControllerViews> preview_controller_; | 754 scoped_ptr<InstantPreviewControllerViews> preview_controller_; |
752 | 755 |
753 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 756 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
754 | 757 |
755 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 758 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
756 }; | 759 }; |
757 | 760 |
758 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 761 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |