| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGATE_
H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGATE_
H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGATE_
H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGATE_
H_ |
| 7 | 7 |
| 8 namespace gfx { | 8 namespace gfx { |
| 9 class Size; | 9 class Size; |
| 10 } | 10 } |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 // source here. | 41 // source here. |
| 42 virtual gfx::ImageSkia GetOTRAvatarIcon() const = 0; | 42 virtual gfx::ImageSkia GetOTRAvatarIcon() const = 0; |
| 43 | 43 |
| 44 // Controls window state. | 44 // Controls window state. |
| 45 virtual bool IsMaximized() const = 0; | 45 virtual bool IsMaximized() const = 0; |
| 46 virtual bool IsMinimized() const = 0; | 46 virtual bool IsMinimized() const = 0; |
| 47 virtual bool IsFullscreen() const = 0; | 47 virtual bool IsFullscreen() const = 0; |
| 48 | 48 |
| 49 virtual bool IsTabStripVisible() const = 0; | 49 virtual bool IsTabStripVisible() const = 0; |
| 50 virtual int GetTabStripHeight() const = 0; | 50 virtual int GetTabStripHeight() const = 0; |
| 51 virtual bool IsToolbarVisible() const = 0; |
| 51 | 52 |
| 52 // Returns the tabstrips preferred size so the frame layout can work around | 53 // Returns the tabstrips preferred size so the frame layout can work around |
| 53 // it. | 54 // it. |
| 54 virtual gfx::Size GetTabstripPreferredSize() const = 0; | 55 virtual gfx::Size GetTabstripPreferredSize() const = 0; |
| 55 | 56 |
| 56 protected: | 57 protected: |
| 57 virtual ~OpaqueBrowserFrameViewLayoutDelegate() {} | 58 virtual ~OpaqueBrowserFrameViewLayoutDelegate() {} |
| 58 }; | 59 }; |
| 59 | 60 |
| 60 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGA
TE_H_ | 61 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGA
TE_H_ |
| OLD | NEW |