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 6dc573696ead2092213d8890b6db9d917a2d2f5f..e4789dc901028520b78f4b982248d665272b1015 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]), |