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

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc

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.cc
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc
index d17cf764ea97159fa097f5108014cae140039623..5c5dd456d63fb52de53b72b6773ed609f35b507a 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc
@@ -675,7 +675,8 @@ void OpaqueBrowserFrameViewLayout::Layout(views::View* host) {
host->width(), host->height());
}
-gfx::Size OpaqueBrowserFrameViewLayout::GetPreferredSize(views::View* host) {
+gfx::Size OpaqueBrowserFrameViewLayout::GetPreferredSize(
+ const views::View* host) const {
// This is never used; NonClientView::GetPreferredSize() will be called
// instead.
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698