Chromium Code Reviews| Index: chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm |
| diff --git a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm |
| index d22fc288204055860befcfc8b26848415e32e638..8a54ba30bd3723e39ab874de90996f83faefe33c 100644 |
| --- a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm |
| +++ b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm |
| @@ -711,6 +711,12 @@ class NotificationBridge : public content::NotificationObserver { |
| return locationBarView_->GetBookmarkBubblePoint(); |
| } |
| +- (NSPoint)wrenchButtonBubblePoint { |
|
Robert Sesek
2012/02/27 18:59:20
Remove? Not called and not declared in the .h
jstritar
2012/03/05 18:05:08
Done.
|
| + const NSRect bounds = [wrenchButton_ bounds]; |
| + NSPoint anchor = NSMakePoint(NSMidX(bounds), NSMidY(bounds)); |
| + return [wrenchButton_ convertPoint:anchor toView:nil]; |
| +} |
| + |
| - (CGFloat)desiredHeightForCompression:(CGFloat)compressByHeight { |
| // With no toolbar, just ignore the compression. |
| return hasToolbar_ ? kBaseToolbarHeight - compressByHeight : |