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