Chromium Code Reviews| Index: chrome/browser/ui/browser_window.h |
| =================================================================== |
| --- chrome/browser/ui/browser_window.h (revision 95921) |
| +++ chrome/browser/ui/browser_window.h (working copy) |
| @@ -33,6 +33,7 @@ |
| namespace gfx { |
| class Rect; |
| +class Size; |
| } |
| class Extension; |
| @@ -341,6 +342,10 @@ |
| virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0; |
| #endif |
| + // Invoked when the preferred size of the contents has been changed. We might |
|
brettw
2011/08/10 23:39:36
I don't totally get this comment and function. The
jianli
2011/08/10 23:57:18
For popup and panel, we only have one tab.
|
| + // choose to update the window size to accomodate this change. |
| + virtual void UpdatePreferredSize(const gfx::Size& pref_size) {} |
| + |
| // Construct a BrowserWindow implementation for the specified |browser|. |
| static BrowserWindow* CreateBrowserWindow(Browser* browser); |