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

Unified Diff: chrome/views/layout_manager.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/layout_manager.h
===================================================================
--- chrome/views/layout_manager.h (revision 3391)
+++ chrome/views/layout_manager.h (working copy)
@@ -9,6 +9,10 @@
#include <atlapp.h>
#include <atlmisc.h>
+namespace gfx {
+class Size;
+}
+
namespace ChromeViews {
class View;
@@ -40,7 +44,7 @@
// Return the preferred size which is the size required to give each
// children their respective preferred size.
- virtual void GetPreferredSize(View* host, CSize* out) = 0;
+ virtual gfx::Size GetPreferredSize(View* host) = 0;
// Returns the preferred height for the specified width. The default
// implementation returns the value from GetPreferredSize.

Powered by Google App Engine
This is Rietveld 408576698