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/common/content_settings_types.h" | 10 #include "chrome/common/content_settings_types.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 123 |
124 // Retrieves the window's current bounds, including its frame. | 124 // Retrieves the window's current bounds, including its frame. |
125 // This will only differ from GetRestoredBounds() for maximized | 125 // This will only differ from GetRestoredBounds() for maximized |
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. |
| 134 virtual bool IsMinimized() const = 0; |
| 135 |
133 // Accessors for fullscreen mode state. | 136 // Accessors for fullscreen mode state. |
134 virtual void SetFullscreen(bool fullscreen) = 0; | 137 virtual void SetFullscreen(bool fullscreen) = 0; |
135 virtual bool IsFullscreen() const = 0; | 138 virtual bool IsFullscreen() const = 0; |
136 | 139 |
137 // Returns true if the fullscreen bubble is visible. | 140 // Returns true if the fullscreen bubble is visible. |
138 virtual bool IsFullscreenBubbleVisible() const = 0; | 141 virtual bool IsFullscreenBubbleVisible() const = 0; |
139 | 142 |
140 // Returns the location bar. | 143 // Returns the location bar. |
141 virtual LocationBar* GetLocationBar() const = 0; | 144 virtual LocationBar* GetLocationBar() const = 0; |
142 | 145 |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 | 381 |
379 // Returns the ToolbarView. | 382 // Returns the ToolbarView. |
380 virtual ToolbarView* GetToolbarView() const = 0; | 383 virtual ToolbarView* GetToolbarView() const = 0; |
381 #endif | 384 #endif |
382 | 385 |
383 protected: | 386 protected: |
384 virtual ~BrowserWindowTesting() {} | 387 virtual ~BrowserWindowTesting() {} |
385 }; | 388 }; |
386 | 389 |
387 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 390 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |