| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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/browser_close_manager.h" | 9 #include "chrome/browser/lifetime/browser_close_manager.h" |
| 10 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 10 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 // if the renderer did not process it. | 311 // if the renderer did not process it. |
| 312 virtual void HandleKeyboardEvent( | 312 virtual void HandleKeyboardEvent( |
| 313 const content::NativeWebKeyboardEvent& event) = 0; | 313 const content::NativeWebKeyboardEvent& event) = 0; |
| 314 | 314 |
| 315 // Clipboard commands applied to the whole browser window. | 315 // Clipboard commands applied to the whole browser window. |
| 316 virtual void Cut() = 0; | 316 virtual void Cut() = 0; |
| 317 virtual void Copy() = 0; | 317 virtual void Copy() = 0; |
| 318 virtual void Paste() = 0; | 318 virtual void Paste() = 0; |
| 319 | 319 |
| 320 #if defined(OS_MACOSX) | 320 #if defined(OS_MACOSX) |
| 321 // Opens the tabpose view. | |
| 322 virtual void OpenTabpose() = 0; | |
| 323 | |
| 324 // Enters Mac specific fullscreen mode with chrome displayed (e.g. omnibox) | 321 // Enters Mac specific fullscreen mode with chrome displayed (e.g. omnibox) |
| 325 // on OSX 10.7+, a.k.a. Lion Fullscreen mode. | 322 // on OSX 10.7+, a.k.a. Lion Fullscreen mode. |
| 326 // Invalid to call on OSX earlier than 10.7. | 323 // Invalid to call on OSX earlier than 10.7. |
| 327 // Enters either from non fullscreen, or from fullscreen without chrome. | 324 // Enters either from non fullscreen, or from fullscreen without chrome. |
| 328 // Exit to normal fullscreen with EnterFullscreen(). | 325 // Exit to normal fullscreen with EnterFullscreen(). |
| 329 virtual void EnterFullscreenWithChrome() = 0; | 326 virtual void EnterFullscreenWithChrome() = 0; |
| 330 virtual bool IsFullscreenWithChrome() = 0; | 327 virtual bool IsFullscreenWithChrome() = 0; |
| 331 virtual bool IsFullscreenWithoutChrome() = 0; | 328 virtual bool IsFullscreenWithoutChrome() = 0; |
| 332 #endif | 329 #endif |
| 333 | 330 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 | 419 |
| 423 // Returns the ToolbarView. | 420 // Returns the ToolbarView. |
| 424 virtual ToolbarView* GetToolbarView() const = 0; | 421 virtual ToolbarView* GetToolbarView() const = 0; |
| 425 #endif | 422 #endif |
| 426 | 423 |
| 427 protected: | 424 protected: |
| 428 virtual ~BrowserWindowTesting() {} | 425 virtual ~BrowserWindowTesting() {} |
| 429 }; | 426 }; |
| 430 | 427 |
| 431 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 428 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |