| 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/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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  294  |  294  | 
|  295   // Clipboard commands applied to the whole browser window. |  295   // Clipboard commands applied to the whole browser window. | 
|  296   virtual void Cut() = 0; |  296   virtual void Cut() = 0; | 
|  297   virtual void Copy() = 0; |  297   virtual void Copy() = 0; | 
|  298   virtual void Paste() = 0; |  298   virtual void Paste() = 0; | 
|  299  |  299  | 
|  300 #if defined(OS_MACOSX) |  300 #if defined(OS_MACOSX) | 
|  301   // Opens the tabpose view. |  301   // Opens the tabpose view. | 
|  302   virtual void OpenTabpose() = 0; |  302   virtual void OpenTabpose() = 0; | 
|  303  |  303  | 
|  304   // Sets the presentation mode for the window.  If the window is not already in |  304   // Enters Mac specific fullscreen mode with chrome displayed (e.g. omnibox) | 
|  305   // fullscreen, also enters fullscreen mode. |  305   // on OSX 10.7+, a.k.a. Lion Fullscreen mode. | 
|  306   virtual void EnterPresentationMode( |  306   // Invalid to call on OSX earlier than 10.7. | 
|  307       const GURL& url, |  307   // Enters either from non fullscreen, or from fullscreen without chrome. | 
|  308       FullscreenExitBubbleType bubble_type) = 0; |  308   // Exit to normal fullscreen with EnterFullscreen(). | 
|  309   virtual void ExitPresentationMode() = 0; |  309   virtual void EnterFullscreenWithChrome() = 0; | 
|  310   virtual bool InPresentationMode() = 0; |  310   virtual bool IsFullscreenWithChrome() = 0; | 
 |  311   virtual bool IsFullscreenWithoutChrome() = 0; | 
|  311 #endif |  312 #endif | 
|  312  |  313  | 
|  313   // Returns the desired bounds for Instant in screen coordinates. Note that if |  314   // Returns the desired bounds for Instant in screen coordinates. Note that if | 
|  314   // Instant isn't currently visible this returns the bounds Instant would be |  315   // Instant isn't currently visible this returns the bounds Instant would be | 
|  315   // placed at. |  316   // placed at. | 
|  316   virtual gfx::Rect GetInstantBounds() = 0; |  317   virtual gfx::Rect GetInstantBounds() = 0; | 
|  317  |  318  | 
|  318   // Return the correct disposition for a popup window based on |bounds|. |  319   // Return the correct disposition for a popup window based on |bounds|. | 
|  319   virtual WindowOpenDisposition GetDispositionForPopupBounds( |  320   virtual WindowOpenDisposition GetDispositionForPopupBounds( | 
|  320       const gfx::Rect& bounds) = 0; |  321       const gfx::Rect& bounds) = 0; | 
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  391  |  392  | 
|  392   // Returns the ToolbarView. |  393   // Returns the ToolbarView. | 
|  393   virtual ToolbarView* GetToolbarView() const = 0; |  394   virtual ToolbarView* GetToolbarView() const = 0; | 
|  394 #endif |  395 #endif | 
|  395  |  396  | 
|  396  protected: |  397  protected: | 
|  397   virtual ~BrowserWindowTesting() {} |  398   virtual ~BrowserWindowTesting() {} | 
|  398 }; |  399 }; | 
|  399  |  400  | 
|  400 #endif  // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |  401 #endif  // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 
| OLD | NEW |