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

Unified Diff: chrome/browser/ui/views/panels/panel_view.cc

Issue 296823002: views: Also const-ify GetMaximumSize(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « chrome/browser/ui/views/panels/panel_view.h ('k') | ui/views/bubble/tray_bubble_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/panels/panel_view.cc
diff --git a/chrome/browser/ui/views/panels/panel_view.cc b/chrome/browser/ui/views/panels/panel_view.cc
index a52c2767e1ac46fba20bf08e4c5ec3e9d849fe8f..d61ad214a7afbc7b84ce80e64f87f81d0c202b41 100644
--- a/chrome/browser/ui/views/panels/panel_view.cc
+++ b/chrome/browser/ui/views/panels/panel_view.cc
@@ -910,7 +910,7 @@ gfx::Size PanelView::GetMinimumSize() const {
gfx::Size(panel::kPanelMinWidth, panel::kPanelMinHeight);
}
-gfx::Size PanelView::GetMaximumSize() {
+gfx::Size PanelView::GetMaximumSize() const {
// If the user is resizing a stacked panel by its bottom edge, make sure its
// height cannot grow more than what the panel below it could offer. This is
// because growing a stacked panel by y amount will shrink the panel below it
« no previous file with comments | « chrome/browser/ui/views/panels/panel_view.h ('k') | ui/views/bubble/tray_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698