Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Unified Diff: chrome/browser/cocoa/toolbar_controller.mm

Issue 414037: Merge 32560 - [Mac] Add support for growing or shrinking the window during an... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/toolbar_controller.h ('k') | chrome/browser/cocoa/toolbar_controller_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/toolbar_controller.mm
===================================================================
--- chrome/browser/cocoa/toolbar_controller.mm (revision 32617)
+++ chrome/browser/cocoa/toolbar_controller.mm (working copy)
@@ -517,10 +517,8 @@
fromView:starButton_];
}
-- (void)setHeightCompression:(CGFloat)compressByHeight {
- // Resize.
- CGFloat newToolbarHeight = kBaseToolbarHeight - compressByHeight;
- [resizeDelegate_ resizeView:[self view] newHeight:newToolbarHeight];
+- (CGFloat)desiredHeightForCompression:(CGFloat)compressByHeight {
+ return kBaseToolbarHeight - compressByHeight;
}
- (void)setDividerOpacity:(CGFloat)opacity {
« no previous file with comments | « chrome/browser/cocoa/toolbar_controller.h ('k') | chrome/browser/cocoa/toolbar_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698