| Index: chrome/browser/cocoa/browser_window_controller.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/browser_window_controller.mm (revision 21184)
|
| +++ chrome/browser/cocoa/browser_window_controller.mm (working copy)
|
| @@ -204,7 +204,7 @@
|
| object:[self tabContentArea]];
|
|
|
| // Create the bridge for the status bubble.
|
| - statusBubble_.reset(new StatusBubbleMac([self window]));
|
| + statusBubble_.reset(new StatusBubbleMac([self window], self));
|
|
|
| #if 0
|
| // Move all buttons down two pixels for visual balance.
|
| @@ -440,6 +440,18 @@
|
| browser_->ExecuteCommand(command);
|
| }
|
|
|
| +// StatusBubble delegate method: tell the status bubble how far above the bottom
|
| +// of the window it should position itself.
|
| +- (float)verticalOffsetForStatusBubble {
|
| + float offset = 0.0;
|
| +
|
| + // Don't create a download shelf if there isn't one.
|
| + if (downloadShelfController_.get() && [[self downloadShelf] isVisible])
|
| + offset += [[self downloadShelf] height];
|
| +
|
| + return offset;
|
| +}
|
| +
|
| - (LocationBar*)locationBar {
|
| return [toolbarController_ locationBar];
|
| }
|
|
|