Chromium Code Reviews| Index: chrome/browser/ui/panels/native_panel.h |
| =================================================================== |
| --- chrome/browser/ui/panels/native_panel.h (revision 95921) |
| +++ chrome/browser/ui/panels/native_panel.h (working copy) |
| @@ -63,6 +63,15 @@ |
| virtual Browser* GetPanelBrowser() const = 0; |
| virtual void DestroyPanelBrowser() = 0; |
| + // Returns the size of the non-client area, that is, the window size minus |
|
Dmitry Titov
2011/08/09 21:08:16
Naming: Can we call it 'Extent' instead of 'Size'?
jianli
2011/08/09 22:15:49
Done.
|
| + // the size of the client area. |
| + virtual gfx::Size GetNonClientAreaSize() const = 0; |
| + |
| + // Gets or sets the restored height, which is the full height of the panel |
| + // when it is expanded. |
| + virtual int GetRestoredHeight() const = 0; |
| + virtual void SetRestoredHeight(int height) = 0; |
| + |
| // Returns a pointer to the testing interface to the native panel. |
| virtual NativePanelTesting* GetNativePanelTesting() = 0; |
| }; |