| 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_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/gfx/point.h" | 10 #include "base/gfx/point.h" |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 virtual void ProfileChanged(Profile* profile) {} | 172 virtual void ProfileChanged(Profile* profile) {} |
| 173 | 173 |
| 174 // Focuses the toolbar (for accessibility). | 174 // Focuses the toolbar (for accessibility). |
| 175 virtual void FocusToolbar() = 0; | 175 virtual void FocusToolbar() = 0; |
| 176 | 176 |
| 177 // Construct a BrowserWindow implementation for the specified |browser|. | 177 // Construct a BrowserWindow implementation for the specified |browser|. |
| 178 static BrowserWindow* CreateBrowserWindow(Browser* browser, | 178 static BrowserWindow* CreateBrowserWindow(Browser* browser, |
| 179 const gfx::Rect& bounds, | 179 const gfx::Rect& bounds, |
| 180 int show_command); | 180 int show_command); |
| 181 | 181 |
| 182 // Returns whether the bookmark bar is visible or not. |
| 183 virtual bool IsBookmarkBarVisible() const = 0; |
| 184 |
| 182 protected: | 185 protected: |
| 183 friend class BrowserList; | 186 friend class BrowserList; |
| 184 friend class BrowserView; | 187 friend class BrowserView; |
| 185 virtual void DestroyBrowser() = 0; | 188 virtual void DestroyBrowser() = 0; |
| 186 }; | 189 }; |
| 187 | 190 |
| 188 #endif // #ifndef CHROME_BROWSER_BROWSER_WINDOW_H__ | 191 #endif // CHROME_BROWSER_BROWSER_WINDOW_H__ |
| 189 | 192 |
| OLD | NEW |