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

Unified Diff: ash/system/tray/tray_popup_header_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/system/tray/tray_popup_header_button.h
diff --git a/ash/system/tray/tray_popup_header_button.h b/ash/system/tray/tray_popup_header_button.h
index ad3b89b38a9412670228c99b2f38664c31ef075d..57327be0da4989fd5036f192f83be7b468da1f16 100644
--- a/ash/system/tray/tray_popup_header_button.h
+++ b/ash/system/tray/tray_popup_header_button.h
@@ -31,7 +31,7 @@ class ASH_EXPORT TrayPopupHeaderButton : public views::ToggleImageButton {
private:
// Overridden from views::View:
const char* GetClassName() const override;
- gfx::Size GetPreferredSize() const override;
+ gfx::Size CalculatePreferredSize() const override;
// Overridden from views::CustomButton:
void StateChanged(ButtonState old_state) override;

Powered by Google App Engine
This is Rietveld 408576698