From b1229e0ccb8c02b823b5cb452aa3dde4a2e7b455 Mon Sep 17 00:00:00 2001 From: "rohitrao@chromium.org" Date: Thu, 11 Mar 2010 02:57:05 +0000 Subject: Revert 41245 - [Mac] Allow the overlay to animate out when a bookmarkbar folder closes. This matches the effect when finishing dragging a button. BUG=None TEST=Go fullscreen. Omnibox should not have focus. Open a folder on the bookmarkbar and hover over one of its subentries. Overlay should not scroll back up. Dismiss the overlay. Overlay should animate out, not disappear instantly. Review URL: http://codereview.chromium.org/803002 TBR=rohitrao@chromium.org Review URL: http://codereview.chromium.org/854002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41249 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/cocoa/bookmark_bar_controller.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/cocoa/bookmark_bar_controller.mm') diff --git a/chrome/browser/cocoa/bookmark_bar_controller.mm b/chrome/browser/cocoa/bookmark_bar_controller.mm index 9886541..0e96495 100644 --- a/chrome/browser/cocoa/bookmark_bar_controller.mm +++ b/chrome/browser/cocoa/bookmark_bar_controller.mm @@ -914,8 +914,8 @@ static BOOL ValueInRangeInclusive(CGFloat low, CGFloat value, CGFloat high) { BrowserWindowController* browserController = [BrowserWindowController browserWindowControllerForView:[self view]]; [browserController releaseBarVisibilityForOwner:child - withAnimation:YES - delay:YES]; + withAnimation:NO + delay:NO]; } -- cgit v1.1