| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/common/content_settings_types.h" | 9 #include "chrome/common/content_settings_types.h" |
| 10 #include "content/browser/tab_contents/navigation_entry.h" | 10 #include "content/browser/tab_contents/navigation_entry.h" |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) = 0; | 292 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) = 0; |
| 293 | 293 |
| 294 // Shows the create web app shortcut dialog box. | 294 // Shows the create web app shortcut dialog box. |
| 295 virtual void ShowCreateWebAppShortcutsDialog( | 295 virtual void ShowCreateWebAppShortcutsDialog( |
| 296 TabContentsWrapper* tab_contents) = 0; | 296 TabContentsWrapper* tab_contents) = 0; |
| 297 | 297 |
| 298 // Shows the create chrome app shortcut dialog box. | 298 // Shows the create chrome app shortcut dialog box. |
| 299 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, | 299 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, |
| 300 const Extension* app) = 0; | 300 const Extension* app) = 0; |
| 301 | 301 |
| 302 // Toggles compact navigation bar. |
| 303 virtual void ToggleUseCompactNavigationBar() = 0; |
| 304 |
| 302 // Clipboard commands applied to the whole browser window. | 305 // Clipboard commands applied to the whole browser window. |
| 303 virtual void Cut() = 0; | 306 virtual void Cut() = 0; |
| 304 virtual void Copy() = 0; | 307 virtual void Copy() = 0; |
| 305 virtual void Paste() = 0; | 308 virtual void Paste() = 0; |
| 306 | 309 |
| 307 // Switches between available tabstrip display modes. | 310 // Switches between available tabstrip display modes. |
| 308 virtual void ToggleTabStripMode() = 0; | 311 virtual void ToggleTabStripMode() = 0; |
| 309 | 312 |
| 310 #if defined(OS_MACOSX) | 313 #if defined(OS_MACOSX) |
| 311 // Opens the tabpose view. | 314 // Opens the tabpose view. |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 | 379 |
| 377 // Returns the ToolbarView. | 380 // Returns the ToolbarView. |
| 378 virtual ToolbarView* GetToolbarView() const = 0; | 381 virtual ToolbarView* GetToolbarView() const = 0; |
| 379 #endif | 382 #endif |
| 380 | 383 |
| 381 protected: | 384 protected: |
| 382 virtual ~BrowserWindowTesting() {} | 385 virtual ~BrowserWindowTesting() {} |
| 383 }; | 386 }; |
| 384 | 387 |
| 385 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 388 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |