diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-07 16:36:18 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-07 16:36:18 +0000 |
commit | 328f0791c6da4e93ccb371d6abc929305344dfcd (patch) | |
tree | 0fe165ccdc2575c4e10640e97d1606f268f223a7 /chrome/browser/cocoa/browser_window_controller.mm | |
parent | 1eb05d5beba66ecd25c63e5060794b9e4dfa573d (diff) | |
download | chromium_src-328f0791c6da4e93ccb371d6abc929305344dfcd.zip chromium_src-328f0791c6da4e93ccb371d6abc929305344dfcd.tar.gz chromium_src-328f0791c6da4e93ccb371d6abc929305344dfcd.tar.bz2 |
Mac: Find bar should be drawn on top of all other toolbars.
BUG=24000
Review URL: http://codereview.chromium.org/255101
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_window_controller.mm')
-rw-r--r-- | chrome/browser/cocoa/browser_window_controller.mm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/browser_window_controller.mm b/chrome/browser/cocoa/browser_window_controller.mm index 542d5d2..2d34da4 100644 --- a/chrome/browser/cocoa/browser_window_controller.mm +++ b/chrome/browser/cocoa/browser_window_controller.mm @@ -202,7 +202,9 @@ willPositionSheet:(NSWindow*)sheet // nib load. The bookmark bar is defined (in the nib) to be // bottom-aligned to it's parent view (among other things), so // position and resize properties don't need to be set. - [[[self window] contentView] addSubview:[bookmarkBarController_ view]]; + [[[self window] contentView] addSubview:[bookmarkBarController_ view] + positioned:NSWindowBelow + relativeTo:[toolbarController_ view]]; // We don't want to try and show the bar before it gets placed in // it's parent view, so this step shoudn't be inside the bookmark |