| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/gfx/native_widget_types.h" | 8 #include "app/gfx/native_widget_types.h" |
| 9 #include "chrome/browser/tab_contents/navigation_entry.h" | 9 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 10 #include "chrome/common/content_settings_types.h" | 10 #include "chrome/common/content_settings_types.h" |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 #if defined(OS_CHROMEOS) | 301 #if defined(OS_CHROMEOS) |
| 302 // Toggles compact navigation bar. | 302 // Toggles compact navigation bar. |
| 303 virtual void ToggleCompactNavigationBar() = 0; | 303 virtual void ToggleCompactNavigationBar() = 0; |
| 304 #endif | 304 #endif |
| 305 | 305 |
| 306 // Clipboard commands applied to the whole browser window. | 306 // Clipboard commands applied to the whole browser window. |
| 307 virtual void Cut() = 0; | 307 virtual void Cut() = 0; |
| 308 virtual void Copy() = 0; | 308 virtual void Copy() = 0; |
| 309 virtual void Paste() = 0; | 309 virtual void Paste() = 0; |
| 310 | 310 |
| 311 // Switches between available tabstrip display modes. |
| 312 virtual void ToggleTabStripMode() = 0; |
| 313 |
| 311 // Construct a BrowserWindow implementation for the specified |browser|. | 314 // Construct a BrowserWindow implementation for the specified |browser|. |
| 312 static BrowserWindow* CreateBrowserWindow(Browser* browser); | 315 static BrowserWindow* CreateBrowserWindow(Browser* browser); |
| 313 | 316 |
| 314 // Construct a FindBar implementation for the specified |browser|. | 317 // Construct a FindBar implementation for the specified |browser|. |
| 315 static FindBar* CreateFindBar(Browser* browser_window); | 318 static FindBar* CreateFindBar(Browser* browser_window); |
| 316 | 319 |
| 317 protected: | 320 protected: |
| 318 friend class BrowserList; | 321 friend class BrowserList; |
| 319 friend class BrowserView; | 322 friend class BrowserView; |
| 320 virtual void DestroyBrowser() = 0; | 323 virtual void DestroyBrowser() = 0; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 344 | 347 |
| 345 // Returns the TabContentsContainer. | 348 // Returns the TabContentsContainer. |
| 346 virtual views::View* GetTabContentsContainerView() const = 0; | 349 virtual views::View* GetTabContentsContainerView() const = 0; |
| 347 | 350 |
| 348 // Returns the ToolbarView. | 351 // Returns the ToolbarView. |
| 349 virtual ToolbarView* GetToolbarView() const = 0; | 352 virtual ToolbarView* GetToolbarView() const = 0; |
| 350 #endif | 353 #endif |
| 351 }; | 354 }; |
| 352 | 355 |
| 353 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ | 356 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ |
| OLD | NEW |