From 5ef3748a651d073bf12928e880a042bf450e1aa8 Mon Sep 17 00:00:00 2001 From: "rohitrao@chromium.org" Date: Thu, 19 Nov 2009 22:42:01 +0000 Subject: [Mac] Add support for growing or shrinking the window during animations. BUG=http://crbug.com/14900 TEST=No visible impact, yet. Review URL: http://codereview.chromium.org/391035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32560 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/cocoa/toolbar_controller.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chrome/browser/cocoa/toolbar_controller.h') diff --git a/chrome/browser/cocoa/toolbar_controller.h b/chrome/browser/cocoa/toolbar_controller.h index a78ae47..3801667 100644 --- a/chrome/browser/cocoa/toolbar_controller.h +++ b/chrome/browser/cocoa/toolbar_controller.h @@ -134,9 +134,8 @@ class ToolbarModel; // Somewhere near the star button seems like a good start. - (NSRect)starButtonInWindowCoordinates; -// Chop off the bottom of the toolbar by |compressByHeight|; needed when the -// bookmark bar is attached. -- (void)setHeightCompression:(CGFloat)compressByHeight; +// Returns the desired toolbar height for the given compression factor. +- (CGFloat)desiredHeightForCompression:(CGFloat)compressByHeight; // Set the opacity of the divider (the line at the bottom) *if* we have a // |ToolbarView| (0 means don't show it); no-op otherwise. -- cgit v1.1