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

Unified Diff: ash/shelf/shelf_view.cc

Issue 2901503003: Rename GetPreferredSize to CalculatePreferredSize in ash/ (Closed)
Patch Set: improvements Created 3 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 | « ash/shelf/shelf_view.h ('k') | ash/shell/lock_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_view.cc
diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc
index fad9003036abc18a9fc9a6759387a97c207b0461..810d6cee27a290daf20ddfedc6aa1c990dfc69e9 100644
--- a/ash/shelf/shelf_view.cc
+++ b/ash/shelf/shelf_view.cc
@@ -1397,7 +1397,7 @@ int ShelfView::CancelDrag(int modified_index) {
return modified_view ? view_model_->GetIndexOfView(modified_view) : -1;
}
-gfx::Size ShelfView::GetPreferredSize() const {
+gfx::Size ShelfView::CalculatePreferredSize() const {
gfx::Rect overflow_bounds;
CalculateIdealBounds(&overflow_bounds);
« no previous file with comments | « ash/shelf/shelf_view.h ('k') | ash/shell/lock_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698