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

Unified Diff: ui/views/layout/fill_layout.h

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT 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/layout/box_layout.cc ('k') | ui/views/layout/fill_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/layout/fill_layout.h
diff --git a/ui/views/layout/fill_layout.h b/ui/views/layout/fill_layout.h
index 67c7f831457a4f92d86692668a48005c7a6beb20..f50bde0c6c72cca99694acfdb9e71c11a6e9730f 100644
--- a/ui/views/layout/fill_layout.h
+++ b/ui/views/layout/fill_layout.h
@@ -25,8 +25,9 @@ class VIEWS_EXPORT FillLayout : public LayoutManager {
// Overridden from LayoutManager:
virtual void Layout(View* host) OVERRIDE;
- virtual gfx::Size GetPreferredSize(View* host) OVERRIDE;
- virtual int GetPreferredHeightForWidth(View* host, int width) OVERRIDE;
+ virtual gfx::Size GetPreferredSize(const View* host) const OVERRIDE;
+ virtual int GetPreferredHeightForWidth(const View* host,
+ int width) const OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(FillLayout);
« no previous file with comments | « ui/views/layout/box_layout.cc ('k') | ui/views/layout/fill_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698