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

Unified Diff: ash/frame/caption_buttons/frame_caption_button.h

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.h
diff --git a/ash/frame/caption_buttons/frame_caption_button.h b/ash/frame/caption_buttons/frame_caption_button.h
index d92afea9c6fc7ac6737c81f96f458f0d34f1b67b..227804c5f817a0dde571a0d7a65bdbf3cff7cfe7 100644
--- a/ash/frame/caption_buttons/frame_caption_button.h
+++ b/ash/frame/caption_buttons/frame_caption_button.h
@@ -47,7 +47,7 @@ class ASH_EXPORT FrameCaptionButton : public views::CustomButton {
void SetAlpha(int alpha);
// views::View overrides:
- gfx::Size GetPreferredSize() const override;
+ gfx::Size CalculatePreferredSize() const override;
const char* GetClassName() const override;
void OnPaint(gfx::Canvas* canvas) override;

Powered by Google App Engine
This is Rietveld 408576698