summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/toolbar_controller.h
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 22:42:01 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 22:42:01 +0000
commit5ef3748a651d073bf12928e880a042bf450e1aa8 (patch)
tree8d9fffc1833dac45307ea621243c3bf4d792f271 /chrome/browser/cocoa/toolbar_controller.h
parent9604b6481dc8be92426d43fd665e587038d5cba3 (diff)
downloadchromium_src-5ef3748a651d073bf12928e880a042bf450e1aa8.zip
chromium_src-5ef3748a651d073bf12928e880a042bf450e1aa8.tar.gz
chromium_src-5ef3748a651d073bf12928e880a042bf450e1aa8.tar.bz2
[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
Diffstat (limited to 'chrome/browser/cocoa/toolbar_controller.h')
-rw-r--r--chrome/browser/cocoa/toolbar_controller.h5
1 files changed, 2 insertions, 3 deletions
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.