diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-08 01:09:25 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-08 01:09:25 +0000 |
commit | c88c8d9b2a372f258acbe919a783d2f42df65874 (patch) | |
tree | a80c35f0dc65390c51fd52d24538198830a3e198 /chrome/browser/cocoa | |
parent | 409b2a5ff67c3020e04b4b106c29c8766298a891 (diff) | |
download | chromium_src-c88c8d9b2a372f258acbe919a783d2f42df65874.zip chromium_src-c88c8d9b2a372f258acbe919a783d2f42df65874.tar.gz chromium_src-c88c8d9b2a372f258acbe919a783d2f42df65874.tar.bz2 |
Fix fullscreen + bookmark bar folders.
BUG=http://crbug.com/42329
TEST=fullscreen. Open bookmark folder. Move mouse down. See chrome stay on screen.
Review URL: http://codereview.chromium.org/2860051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r-- | chrome/browser/cocoa/bookmark_bar_folder_controller.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_folder_controller.mm b/chrome/browser/cocoa/bookmark_bar_folder_controller.mm index 7a7125a..6288679 100644 --- a/chrome/browser/cocoa/bookmark_bar_folder_controller.mm +++ b/chrome/browser/cocoa/bookmark_bar_folder_controller.mm @@ -155,7 +155,7 @@ const CGFloat kScrollWindowVerticalMargin = 0.0; // Overriden from NSWindowController to call childFolderWillShow: before showing // the window. - (void)showWindow:(id)sender { - [parentController_ childFolderWillShow:self]; + [barController_ childFolderWillShow:self]; [super showWindow:sender]; } @@ -713,7 +713,7 @@ const CGFloat kScrollWindowVerticalMargin = 0.0; // Delegate callback. - (void)windowWillClose:(NSNotification*)notification { - [parentController_ childFolderWillClose:self]; + [barController_ childFolderWillClose:self]; [self closeBookmarkFolder:self]; [self autorelease]; } |