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..5fcff1079ecb46c02d611cd3235a95857402fc53 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; |
@@ -147,6 +148,9 @@ class TabContents; |
// 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; |