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

Unified Diff: ash/system/ime_menu/ime_menu_tray.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/shell/window_type_launcher.cc ('k') | ash/system/lock_screen_action/lock_screen_action_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/ime_menu/ime_menu_tray.cc
diff --git a/ash/system/ime_menu/ime_menu_tray.cc b/ash/system/ime_menu/ime_menu_tray.cc
index 2ec36bfae1b88a6125a1db2ef1f1e6f9715a4fff..7e6018be788b95ccaa08f2f3d82ca6cafc1fa25c 100644
--- a/ash/system/ime_menu/ime_menu_tray.cc
+++ b/ash/system/ime_menu/ime_menu_tray.cc
@@ -109,7 +109,7 @@ class ImeMenuLabel : public views::Label {
~ImeMenuLabel() override {}
// views:Label:
- gfx::Size GetPreferredSize() const override {
+ gfx::Size CalculatePreferredSize() const override {
return gfx::Size(kTrayItemSize, kTrayItemSize);
}
int GetHeightForWidth(int width) const override { return kTrayItemSize; }
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | ash/system/lock_screen_action/lock_screen_action_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698