summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-11 02:33:07 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-11 02:33:07 +0000
commitf06374ba1811e4d8c5496435e509e7a24df839de (patch)
treeee8124192359ef4361c660063d5788728fa971b8 /chrome/browser
parente5e6166b48812a294cdebf4cc92de0f2fced7fa3 (diff)
downloadchromium_src-f06374ba1811e4d8c5496435e509e7a24df839de.zip
chromium_src-f06374ba1811e4d8c5496435e509e7a24df839de.tar.gz
chromium_src-f06374ba1811e4d8c5496435e509e7a24df839de.tar.bz2
[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 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/cocoa/bookmark_bar_controller.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_controller.mm b/chrome/browser/cocoa/bookmark_bar_controller.mm
index 0e96495..9886541 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:NO
- delay:NO];
+ withAnimation:YES
+ delay:YES];
}