| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ |
| 7 | 7 |
| 8 #include "app/gfx/native_widget_types.h" | 8 #include "app/gfx/native_widget_types.h" |
| 9 #include "chrome/browser/tab_contents/navigation_entry.h" | 9 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 10 | 10 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 virtual gfx::Rect GetRestoredBounds() const = 0; | 111 virtual gfx::Rect GetRestoredBounds() const = 0; |
| 112 | 112 |
| 113 // TODO(beng): REMOVE? | 113 // TODO(beng): REMOVE? |
| 114 // Returns true if the frame is maximized (aka zoomed). | 114 // Returns true if the frame is maximized (aka zoomed). |
| 115 virtual bool IsMaximized() const = 0; | 115 virtual bool IsMaximized() const = 0; |
| 116 | 116 |
| 117 // Accessors for fullscreen mode state. | 117 // Accessors for fullscreen mode state. |
| 118 virtual void SetFullscreen(bool fullscreen) = 0; | 118 virtual void SetFullscreen(bool fullscreen) = 0; |
| 119 virtual bool IsFullscreen() const = 0; | 119 virtual bool IsFullscreen() const = 0; |
| 120 | 120 |
| 121 // Returns true if the fullscreen bubble is visible. |
| 122 virtual bool IsFullscreenBubbleVisible() const = 0; |
| 123 |
| 121 // Returns the location bar. | 124 // Returns the location bar. |
| 122 virtual LocationBar* GetLocationBar() const = 0; | 125 virtual LocationBar* GetLocationBar() const = 0; |
| 123 | 126 |
| 124 // Tries to focus the location bar. Clears the window focus (to avoid | 127 // Tries to focus the location bar. Clears the window focus (to avoid |
| 125 // inconsistent state) if this fails. | 128 // inconsistent state) if this fails. |
| 126 virtual void SetFocusToLocationBar() = 0; | 129 virtual void SetFocusToLocationBar() = 0; |
| 127 | 130 |
| 128 // Informs the view whether or not a load is in progress for the current tab. | 131 // Informs the view whether or not a load is in progress for the current tab. |
| 129 // The view can use this notification to update the go/stop button. | 132 // The view can use this notification to update the go/stop button. |
| 130 virtual void UpdateStopGoState(bool is_loading, bool force) = 0; | 133 virtual void UpdateStopGoState(bool is_loading, bool force) = 0; |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 | 310 |
| 308 // Returns the TabContentsContainer. | 311 // Returns the TabContentsContainer. |
| 309 virtual views::View* GetTabContentsContainerView() const = 0; | 312 virtual views::View* GetTabContentsContainerView() const = 0; |
| 310 | 313 |
| 311 // Returns the ToolbarView. | 314 // Returns the ToolbarView. |
| 312 virtual ToolbarView* GetToolbarView() const = 0; | 315 virtual ToolbarView* GetToolbarView() const = 0; |
| 313 #endif | 316 #endif |
| 314 }; | 317 }; |
| 315 | 318 |
| 316 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ | 319 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ |
| OLD | NEW |