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

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

Issue 10260001: Remove panel size limit when user resizes it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 8 years, 8 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.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index a86818933b47f33a4506c2afdf8d124319d246c3..47d328551d8a4e23875a124622768e9539c98bac 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -299,7 +299,7 @@ class Panel : public BrowserWindow,
void EnableResizeByMouse(bool enable);
// Changes the preferred size to acceptable based on min_size() and max_size()
- void ClampSize(gfx::Size* size) const;
+ gfx::Size ClampSize(const gfx::Size& size) const;
// Called when the panel's active state changes.
// |active| is true if panel became active.

Powered by Google App Engine
This is Rietveld 408576698