Chromium Code Reviews| Index: chrome/browser/ui/cocoa/browser_window_controller.h |
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h |
| index f390deeb8c939b7270d8cd9fba90723acfb19733..3bc55002f859b3ae6ae6d1f94b2489758cad3433 100644 |
| --- a/chrome/browser/ui/cocoa/browser_window_controller.h |
| +++ b/chrome/browser/ui/cocoa/browser_window_controller.h |
| @@ -25,6 +25,7 @@ |
| #import "chrome/browser/ui/cocoa/themed_window.h" |
| #import "chrome/browser/ui/cocoa/url_drop_target.h" |
| #import "chrome/browser/ui/cocoa/view_resizer.h" |
| +#include "ui/gfx/rect.h" |
| class Browser; |
| @@ -143,10 +144,16 @@ class TabContents; |
| // Takes ownership of |browser|. |
| - (id)initWithBrowser:(Browser*)browser; |
| +// Set minimum size on window depending on browser type. |
| +- (void)awakeFromNib; |
|
Nico
2011/06/09 16:54:35
awakeFromNib is usually not declared in .h files
jennb
2011/06/09 17:54:51
Removed. Good to know. Thx.
|
| + |
| // Call to make the browser go away from other places in the cross-platform |
| // code. |
| - (void)destroyBrowser; |
| +// Ensure bounds for the window abide by the minimum window size. |
| +- (gfx::Rect)enforceMinWindowSize:(gfx::Rect)bounds; |
| + |
| // Access the C++ bridge between the NSWindow and the rest of Chromium. |
| - (BrowserWindow*)browserWindow; |