| 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/browser/ui/bookmarks/bookmark_bar.h" | 9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
| 10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" | 10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 // and minimized windows. | 126 // and minimized windows. |
| 127 virtual gfx::Rect GetBounds() const = 0; | 127 virtual gfx::Rect GetBounds() const = 0; |
| 128 | 128 |
| 129 // TODO(beng): REMOVE? | 129 // TODO(beng): REMOVE? |
| 130 // Returns true if the frame is maximized (aka zoomed). | 130 // Returns true if the frame is maximized (aka zoomed). |
| 131 virtual bool IsMaximized() const = 0; | 131 virtual bool IsMaximized() const = 0; |
| 132 | 132 |
| 133 // Returns true if the frame is minimized. | 133 // Returns true if the frame is minimized. |
| 134 virtual bool IsMinimized() const = 0; | 134 virtual bool IsMinimized() const = 0; |
| 135 | 135 |
| 136 // Maximizes/minimizes/restores the window. |
| 137 virtual void Maximize() = 0; |
| 138 virtual void Minimize() = 0; |
| 139 virtual void Restore() = 0; |
| 140 |
| 136 // Accessors for fullscreen mode state. | 141 // Accessors for fullscreen mode state. |
| 137 virtual void EnterFullscreen(const GURL& url, | 142 virtual void EnterFullscreen(const GURL& url, |
| 138 FullscreenExitBubbleType bubble_type) = 0; | 143 FullscreenExitBubbleType bubble_type) = 0; |
| 139 virtual void ExitFullscreen() = 0; | 144 virtual void ExitFullscreen() = 0; |
| 140 virtual void UpdateFullscreenExitBubbleContent( | 145 virtual void UpdateFullscreenExitBubbleContent( |
| 141 const GURL& url, | 146 const GURL& url, |
| 142 FullscreenExitBubbleType bubble_type) = 0; | 147 FullscreenExitBubbleType bubble_type) = 0; |
| 143 virtual bool IsFullscreen() const = 0; | 148 virtual bool IsFullscreen() const = 0; |
| 144 | 149 |
| 145 // Returns true if the fullscreen bubble is visible. | 150 // Returns true if the fullscreen bubble is visible. |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 | 394 |
| 390 // Returns the ToolbarView. | 395 // Returns the ToolbarView. |
| 391 virtual ToolbarView* GetToolbarView() const = 0; | 396 virtual ToolbarView* GetToolbarView() const = 0; |
| 392 #endif | 397 #endif |
| 393 | 398 |
| 394 protected: | 399 protected: |
| 395 virtual ~BrowserWindowTesting() {} | 400 virtual ~BrowserWindowTesting() {} |
| 396 }; | 401 }; |
| 397 | 402 |
| 398 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 403 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |