| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "chrome/browser/lifetime/application_lifetime.h" | 9 #include "chrome/browser/lifetime/application_lifetime.h" |
| 10 #include "chrome/browser/ui/base_window.h" | 10 #include "chrome/browser/ui/base_window.h" |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 | 293 |
| 294 // Allows the BrowserWindow object to handle the specified keyboard event, | 294 // Allows the BrowserWindow object to handle the specified keyboard event, |
| 295 // if the renderer did not process it. | 295 // if the renderer did not process it. |
| 296 virtual void HandleKeyboardEvent( | 296 virtual void HandleKeyboardEvent( |
| 297 const content::NativeWebKeyboardEvent& event) = 0; | 297 const content::NativeWebKeyboardEvent& event) = 0; |
| 298 | 298 |
| 299 // Shows the create chrome app shortcut dialog box. | 299 // Shows the create chrome app shortcut dialog box. |
| 300 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, | 300 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, |
| 301 const extensions::Extension* app) = 0; | 301 const extensions::Extension* app) = 0; |
| 302 | 302 |
| 303 | |
| 304 // Clipboard commands applied to the whole browser window. | 303 // Clipboard commands applied to the whole browser window. |
| 305 virtual void Cut() = 0; | 304 virtual void Cut() = 0; |
| 306 virtual void Copy() = 0; | 305 virtual void Copy() = 0; |
| 307 virtual void Paste() = 0; | 306 virtual void Paste() = 0; |
| 308 | 307 |
| 309 #if defined(OS_MACOSX) | 308 #if defined(OS_MACOSX) |
| 310 // Opens the tabpose view. | 309 // Opens the tabpose view. |
| 311 virtual void OpenTabpose() = 0; | 310 virtual void OpenTabpose() = 0; |
| 312 | 311 |
| 313 // Sets the presentation mode for the window. If the window is not already in | 312 // Sets the presentation mode for the window. If the window is not already in |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 | 412 |
| 414 // Returns the ToolbarView. | 413 // Returns the ToolbarView. |
| 415 virtual ToolbarView* GetToolbarView() const = 0; | 414 virtual ToolbarView* GetToolbarView() const = 0; |
| 416 #endif | 415 #endif |
| 417 | 416 |
| 418 protected: | 417 protected: |
| 419 virtual ~BrowserWindowTesting() {} | 418 virtual ~BrowserWindowTesting() {} |
| 420 }; | 419 }; |
| 421 | 420 |
| 422 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 421 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |