Index: chrome/browser/ui/browser_window.h |
=================================================================== |
--- chrome/browser/ui/browser_window.h (revision 94932) |
+++ chrome/browser/ui/browser_window.h (working copy) |
@@ -33,6 +33,7 @@ |
namespace gfx { |
class Rect; |
+class Size; |
} |
class Extension; |
@@ -333,6 +334,9 @@ |
virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0; |
#endif |
+ // Invoked when the preferred size of the contents has been changed. |
Dmitry Titov
2011/08/05 19:02:20
Could you note here in what coord system the size
jianli
2011/08/09 19:56:16
Since it is about size, I do not think we need to
|
+ virtual void UpdatePreferredSize(const gfx::Size& pref_size) {} |
+ |
// Construct a BrowserWindow implementation for the specified |browser|. |
static BrowserWindow* CreateBrowserWindow(Browser* browser); |