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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 | 297 |
298 // Allows the BrowserWindow object to handle the specified keyboard event, | 298 // Allows the BrowserWindow object to handle the specified keyboard event, |
299 // if the renderer did not process it. | 299 // if the renderer did not process it. |
300 virtual void HandleKeyboardEvent( | 300 virtual void HandleKeyboardEvent( |
301 const content::NativeWebKeyboardEvent& event) = 0; | 301 const content::NativeWebKeyboardEvent& event) = 0; |
302 | 302 |
303 // Shows the create chrome app shortcut dialog box. | 303 // Shows the create chrome app shortcut dialog box. |
304 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, | 304 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, |
305 const extensions::Extension* app) = 0; | 305 const extensions::Extension* app) = 0; |
306 | 306 |
307 | |
308 // Clipboard commands applied to the whole browser window. | 307 // Clipboard commands applied to the whole browser window. |
309 virtual void Cut() = 0; | 308 virtual void Cut() = 0; |
310 virtual void Copy() = 0; | 309 virtual void Copy() = 0; |
311 virtual void Paste() = 0; | 310 virtual void Paste() = 0; |
312 | 311 |
313 #if defined(OS_MACOSX) | 312 #if defined(OS_MACOSX) |
314 // Opens the tabpose view. | 313 // Opens the tabpose view. |
315 virtual void OpenTabpose() = 0; | 314 virtual void OpenTabpose() = 0; |
316 | 315 |
317 // Sets the presentation mode for the window. If the window is not already in | 316 // Sets the presentation mode for the window. If the window is not already in |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 | 405 |
407 // Returns the ToolbarView. | 406 // Returns the ToolbarView. |
408 virtual ToolbarView* GetToolbarView() const = 0; | 407 virtual ToolbarView* GetToolbarView() const = 0; |
409 #endif | 408 #endif |
410 | 409 |
411 protected: | 410 protected: |
412 virtual ~BrowserWindowTesting() {} | 411 virtual ~BrowserWindowTesting() {} |
413 }; | 412 }; |
414 | 413 |
415 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 414 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |