Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3122)

Unified Diff: chrome/browser/ui/panels/native_panel.h

Issue 7537030: Make panel adjust bounds per preferred size change notification on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698