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

Unified Diff: chrome/views/chrome_menu.h

Issue 7344: Convert GetPreferredSize from:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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: chrome/views/chrome_menu.h
===================================================================
--- chrome/views/chrome_menu.h (revision 3391)
+++ chrome/views/chrome_menu.h (working copy)
@@ -358,7 +358,7 @@
virtual void Paint(ChromeCanvas* canvas);
// Returns the preferred size of this item.
- virtual void GetPreferredSize(CSize* out);
+ virtual gfx::Size GetPreferredSize();
// Returns the object responsible for controlling showing the menu.
MenuController* GetMenuController();
@@ -500,7 +500,7 @@
// Positions and sizes the child views. This tiles the views vertically,
// giving each child the available width.
virtual void Layout();
- virtual void GetPreferredSize(CSize* out);
+ virtual gfx::Size GetPreferredSize();
// View method. Overriden to schedule a paint. We do this so that when
// scrolling occurs, everything is repainted correctly.

Powered by Google App Engine
This is Rietveld 408576698