From fb63b72ec46cf173aff67fc7c377da1c56a49fce Mon Sep 17 00:00:00 2001 From: "pinkerton@chromium.org" Date: Thu, 19 Feb 2009 18:05:14 +0000 Subject: Hook up the resize rect for Mac and enable its use in the renderer (mac-only). Review URL: http://codereview.chromium.org/21512 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10019 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_window_controller.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chrome/browser/browser_window_controller.h') diff --git a/chrome/browser/browser_window_controller.h b/chrome/browser/browser_window_controller.h index 5601b3f..9428cd3 100644 --- a/chrome/browser/browser_window_controller.h +++ b/chrome/browser/browser_window_controller.h @@ -55,6 +55,11 @@ class BrowserWindow; // Sets whether or not the current page in the frontmost tab is bookmarked. - (void)setStarredState:(BOOL)isStarred; +// Return the rect, in WebKit coordinates (flipped), of the window's grow box +// in the coordinate system of the content area of the currently selected tab. +// |windowGrowBox| needs to be in the window's coordinate system. +- (NSRect)selectedTabGrowBoxFromWindowGrowBox:(NSRect)windowGrowBox; + @end #endif // CHROME_BROWSER_BROWSER_WINDOW_CONTROLLER_H_ -- cgit v1.1