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

Unified Diff: ash/frame/caption_buttons/frame_caption_button_container_view.cc

Issue 2901503003: Rename GetPreferredSize to CalculatePreferredSize in ash/ (Closed)
Patch Set: 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
Index: ash/frame/caption_buttons/frame_caption_button_container_view.cc
diff --git a/ash/frame/caption_buttons/frame_caption_button_container_view.cc b/ash/frame/caption_buttons/frame_caption_button_container_view.cc
index 8a049908b152249b743e15ad20054736645008c4..9d0e38223f257480e892d9ec6868ab3ed3ff7427 100644
--- a/ash/frame/caption_buttons/frame_caption_button_container_view.cc
+++ b/ash/frame/caption_buttons/frame_caption_button_container_view.cc
@@ -210,7 +210,7 @@ void FrameCaptionButtonContainerView::SetButtonSize(const gfx::Size& size) {
close_button_->set_size(size);
}
-gfx::Size FrameCaptionButtonContainerView::GetPreferredSize() const {
+gfx::Size FrameCaptionButtonContainerView::CalculatePreferredSize() const {
int width = 0;
for (int i = 0; i < child_count(); ++i) {
const views::View* child = child_at(i);

Powered by Google App Engine
This is Rietveld 408576698