| Index: chrome/browser/ui/cocoa/base_bubble_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/base_bubble_controller.mm b/chrome/browser/ui/cocoa/base_bubble_controller.mm
|
| index 2628f054b5f22ba95cef1810e560206f57918a5f..9cec07c3ebe5381a2eaec2534db9bf374fcd6cc9 100644
|
| --- a/chrome/browser/ui/cocoa/base_bubble_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/base_bubble_controller.mm
|
| @@ -141,7 +141,7 @@
|
| anchorOffset_.y -= anchor_.y;
|
| }
|
|
|
| -- (NSBox*)separatorWithFrame:(NSRect)frame {
|
| +- (NSBox*)horizontalSeparatorWithFrame:(NSRect)frame {
|
| frame.size.height = 1.0;
|
| base::scoped_nsobject<NSBox> spacer([[NSBox alloc] initWithFrame:frame]);
|
| [spacer setBoxType:NSBoxSeparator];
|
| @@ -150,6 +150,15 @@
|
| return [spacer.release() autorelease];
|
| }
|
|
|
| +- (NSBox*)verticalSeparatorWithFrame:(NSRect)frame {
|
| + frame.size.width = 1.0;
|
| + base::scoped_nsobject<NSBox> spacer([[NSBox alloc] initWithFrame:frame]);
|
| + [spacer setBoxType:NSBoxSeparator];
|
| + [spacer setBorderType:NSLineBorder];
|
| + [spacer setAlphaValue:0.2];
|
| + return [spacer.release() autorelease];
|
| +}
|
| +
|
| - (void)parentWindowDidResize:(NSNotification*)notification {
|
| DCHECK_EQ(parentWindow_, [notification object]);
|
| NSPoint newOrigin = NSMakePoint(NSMinX([parentWindow_ frame]),
|
|
|