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

Unified Diff: chrome/browser/ui/panels/panel_browser_frame_view.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/panel_browser_frame_view.h
===================================================================
--- chrome/browser/ui/panels/panel_browser_frame_view.h (revision 95921)
+++ chrome/browser/ui/panels/panel_browser_frame_view.h (working copy)
@@ -43,6 +43,10 @@
// frame, any title area, and any connected client edge.
int NonClientTopBorderHeight() const;
+ // Returns the size of the non-client area, that is, the window size minus
+ // the size of the client area.
+ gfx::Size NonClientAreaSize() const;
+
protected:
// Overridden from BrowserNonClientFrameView:
virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698