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

Unified Diff: views/controls/menu/menu_item_view.h

Issue 7331017: Multi-Profiles: Add icon chooser to profiles menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 9 years, 5 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: views/controls/menu/menu_item_view.h
diff --git a/views/controls/menu/menu_item_view.h b/views/controls/menu/menu_item_view.h
index 9f5c9b3282508fc48d10deaa9a390716f2786fa7..3f952f717c2a879f8cc0c04f517fc9aa28ead0cf 100644
--- a/views/controls/menu/menu_item_view.h
+++ b/views/controls/menu/menu_item_view.h
@@ -406,8 +406,8 @@ class MenuItemView : public View {
int GetTopMargin();
int GetBottomMargin();
- // Returns the preferred width (and padding) of any children.
- int GetChildPreferredWidth();
+ // Returns the preferred size (and padding) of any children.
+ gfx::Size GetChildPreferredSize();
// Calculates the preferred size.
gfx::Size CalculatePreferredSize();

Powered by Google App Engine
This is Rietveld 408576698