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

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view_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
Index: chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h
index c3f0ec9cf61132bddc0b0386ff2ad9bd3cf6a1d1..16ca682106d5e3c63594e678cea27ae6beaa90e5 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h
@@ -140,7 +140,7 @@ class OpaqueBrowserFrameViewLayout : public views::LayoutManager {
// Overriden from views::LayoutManager:
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 ViewAdded(views::View* host, views::View* view) OVERRIDE;
virtual void ViewRemoved(views::View* host, views::View* view) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698