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

Unified Diff: ui/views/view.h

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 | « ui/views/bubble/tray_bubble_view.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 5f2f6c9fc81b949d3f8db52a20fbfe7fbddbe219..1e90cb3a0f9ea7f9e3d6e1efae65fff4ab55e0ca 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -276,7 +276,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Gets the maximum size of the view. Currently only used for sizing shell
// windows.
- virtual gfx::Size GetMaximumSize();
+ virtual gfx::Size GetMaximumSize() const;
// Return the height necessary to display this view with the provided width.
// View's implementation returns the value from getPreferredSize.cy.
« no previous file with comments | « ui/views/bubble/tray_bubble_view.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698