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

Unified Diff: chrome/browser/ui/views/panels/panel_frame_view.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
« no previous file with comments | « chrome/browser/ui/views/panels/panel_frame_view.h ('k') | chrome/browser/ui/views/panels/panel_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/panels/panel_frame_view.cc
diff --git a/chrome/browser/ui/views/panels/panel_frame_view.cc b/chrome/browser/ui/views/panels/panel_frame_view.cc
index a22164971ab1d3e065afddff1912ad4a284814a1..4b88b2b63b37cc4fc1b804b831bd011e6a835bae 100644
--- a/chrome/browser/ui/views/panels/panel_frame_view.cc
+++ b/chrome/browser/ui/views/panels/panel_frame_view.cc
@@ -489,7 +489,7 @@ void PanelFrameView::UpdateWindowTitle() {
title_label_->SetText(panel_view_->panel()->GetWindowTitle());
}
-gfx::Size PanelFrameView::GetPreferredSize() {
+gfx::Size PanelFrameView::GetPreferredSize() const {
gfx::Size pref_size =
panel_view_->window()->client_view()->GetPreferredSize();
gfx::Rect bounds(0, 0, pref_size.width(), pref_size.height());
@@ -501,7 +501,7 @@ const char* PanelFrameView::GetClassName() const {
return kViewClassName;
}
-gfx::Size PanelFrameView::GetMinimumSize() {
+gfx::Size PanelFrameView::GetMinimumSize() const {
return panel_view_->GetMinimumSize();
}
« no previous file with comments | « chrome/browser/ui/views/panels/panel_frame_view.h ('k') | chrome/browser/ui/views/panels/panel_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698