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

Unified Diff: ash/system/tray/special_popup_row.cc

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add two more const for Windows. 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: ash/system/tray/special_popup_row.cc
diff --git a/ash/system/tray/special_popup_row.cc b/ash/system/tray/special_popup_row.cc
index 0f6899d38f2ed1f3417abc44332855b45356e01d..c7a0a14d1c16ba796c23973550268f9dafecf386 100644
--- a/ash/system/tray/special_popup_row.cc
+++ b/ash/system/tray/special_popup_row.cc
@@ -96,13 +96,13 @@ void SpecialPopupRow::AddThrobber(ThrobberView* throbber) {
button_container_->AddChildView(throbber);
}
-gfx::Size SpecialPopupRow::GetPreferredSize() {
+gfx::Size SpecialPopupRow::GetPreferredSize() const {
gfx::Size size = views::View::GetPreferredSize();
size.set_height(kSpecialPopupRowHeight);
return size;
}
-int SpecialPopupRow::GetHeightForWidth(int width) {
+int SpecialPopupRow::GetHeightForWidth(int width) const {
return kSpecialPopupRowHeight;
}

Powered by Google App Engine
This is Rietveld 408576698