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

Unified Diff: chrome/browser/ui/views/frame/contents_layout_manager.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
Index: chrome/browser/ui/views/frame/contents_layout_manager.h
diff --git a/chrome/browser/ui/views/frame/contents_layout_manager.h b/chrome/browser/ui/views/frame/contents_layout_manager.h
index 40d6440ea5c9262e9b279be0b27af3f43f6a5d8e..b37066f4d92ea5c66f57ea18d2aac94020d8dbb3 100644
--- a/chrome/browser/ui/views/frame/contents_layout_manager.h
+++ b/chrome/browser/ui/views/frame/contents_layout_manager.h
@@ -26,7 +26,7 @@ class ContentsLayoutManager : public views::LayoutManager {
// views::LayoutManager overrides:
virtual void Layout(views::View* host) OVERRIDE;
- virtual gfx::Size GetPreferredSize(views::View* host) OVERRIDE;
+ virtual gfx::Size GetPreferredSize(const views::View* host) const OVERRIDE;
virtual void Installed(views::View* host) OVERRIDE;
virtual void Uninstalled(views::View* host) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698