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

Unified Diff: ash/system/tray/hover_highlight_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/system/tray/hover_highlight_view.h ('k') | ash/system/tray/throbber_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/hover_highlight_view.cc
diff --git a/ash/system/tray/hover_highlight_view.cc b/ash/system/tray/hover_highlight_view.cc
index 5bfaae2297c2685b8165f2694f29c36535cdce5f..4a28ebde54633957b66ba0aee963acfadbe4fc87 100644
--- a/ash/system/tray/hover_highlight_view.cc
+++ b/ash/system/tray/hover_highlight_view.cc
@@ -210,7 +210,7 @@ void HoverHighlightView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
node_data->AddIntAttribute(ui::AX_ATTR_CHECKED_STATE, checked_state);
}
-gfx::Size HoverHighlightView::GetPreferredSize() const {
+gfx::Size HoverHighlightView::CalculatePreferredSize() const {
gfx::Size size = ActionableView::GetPreferredSize();
if (!expandable_ || size.height() < kTrayPopupItemMinHeight)
« no previous file with comments | « ash/system/tray/hover_highlight_view.h ('k') | ash/system/tray/throbber_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698