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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents) = 0; | 302 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents) = 0; |
303 | 303 |
304 // Clipboard commands applied to the whole browser window. | 304 // Clipboard commands applied to the whole browser window. |
305 virtual void Cut() = 0; | 305 virtual void Cut() = 0; |
306 virtual void Copy() = 0; | 306 virtual void Copy() = 0; |
307 virtual void Paste() = 0; | 307 virtual void Paste() = 0; |
308 | 308 |
309 // Switches between available tabstrip display modes. | 309 // Switches between available tabstrip display modes. |
310 virtual void ToggleTabStripMode() = 0; | 310 virtual void ToggleTabStripMode() = 0; |
311 | 311 |
312 // Set whether the toolbar displays in collapsed mode. | |
313 virtual void SetToolbarCollapsedMode(bool val) = 0; | |
314 | |
315 // Construct a BrowserWindow implementation for the specified |browser|. | 312 // Construct a BrowserWindow implementation for the specified |browser|. |
316 static BrowserWindow* CreateBrowserWindow(Browser* browser); | 313 static BrowserWindow* CreateBrowserWindow(Browser* browser); |
317 | 314 |
318 // Construct a FindBar implementation for the specified |browser|. | 315 // Construct a FindBar implementation for the specified |browser|. |
319 static FindBar* CreateFindBar(Browser* browser_window); | 316 static FindBar* CreateFindBar(Browser* browser_window); |
320 | 317 |
321 protected: | 318 protected: |
322 friend class BrowserList; | 319 friend class BrowserList; |
323 friend class BrowserView; | 320 friend class BrowserView; |
324 virtual void DestroyBrowser() = 0; | 321 virtual void DestroyBrowser() = 0; |
(...skipping 23 matching lines...) Expand all Loading... |
348 | 345 |
349 // Returns the TabContentsContainer. | 346 // Returns the TabContentsContainer. |
350 virtual views::View* GetTabContentsContainerView() const = 0; | 347 virtual views::View* GetTabContentsContainerView() const = 0; |
351 | 348 |
352 // Returns the ToolbarView. | 349 // Returns the ToolbarView. |
353 virtual ToolbarView* GetToolbarView() const = 0; | 350 virtual ToolbarView* GetToolbarView() const = 0; |
354 #endif | 351 #endif |
355 }; | 352 }; |
356 | 353 |
357 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ | 354 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ |
OLD | NEW |