| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 "base/gfx/native_widget_types.h" | 8 #include "base/gfx/native_widget_types.h" |
| 9 #include "chrome/browser/tab_contents/navigation_entry.h" | 9 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 10 | 10 |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 | 237 |
| 238 // Construct a BrowserWindow implementation for the specified |browser|. | 238 // Construct a BrowserWindow implementation for the specified |browser|. |
| 239 static BrowserWindow* CreateBrowserWindow(Browser* browser); | 239 static BrowserWindow* CreateBrowserWindow(Browser* browser); |
| 240 | 240 |
| 241 // Construct a FindBar implementation for the specified |browser|. | 241 // Construct a FindBar implementation for the specified |browser|. |
| 242 static FindBar* CreateFindBar(Browser* browser_window); | 242 static FindBar* CreateFindBar(Browser* browser_window); |
| 243 | 243 |
| 244 protected: | 244 protected: |
| 245 friend class BrowserList; | 245 friend class BrowserList; |
| 246 friend class BrowserView; | 246 friend class BrowserView; |
| 247 ~BrowserWindow() {} | |
| 248 virtual void DestroyBrowser() = 0; | 247 virtual void DestroyBrowser() = 0; |
| 249 }; | 248 }; |
| 250 | 249 |
| 251 #if defined(OS_WIN) | 250 #if defined(OS_WIN) |
| 252 class BookmarkBarView; | 251 class BookmarkBarView; |
| 253 class LocationBarView; | 252 class LocationBarView; |
| 254 | 253 |
| 255 namespace views { | 254 namespace views { |
| 256 class View; | 255 class View; |
| 257 } | 256 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 270 | 269 |
| 271 // Returns the TabContentsContainer. | 270 // Returns the TabContentsContainer. |
| 272 virtual views::View* GetTabContentsContainerView() const = 0; | 271 virtual views::View* GetTabContentsContainerView() const = 0; |
| 273 | 272 |
| 274 // Returns the ToolbarView. | 273 // Returns the ToolbarView. |
| 275 virtual ToolbarView* GetToolbarView() const = 0; | 274 virtual ToolbarView* GetToolbarView() const = 0; |
| 276 #endif | 275 #endif |
| 277 }; | 276 }; |
| 278 | 277 |
| 279 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ | 278 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ |
| OLD | NEW |