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 fd19a0d65663ef6af155f4755959d29121d8daa2..20336945daaa79309cd036e7def5b0f44219ee5f 100644 |
--- a/chrome/browser/ui/cocoa/base_bubble_controller.mm |
+++ b/chrome/browser/ui/cocoa/base_bubble_controller.mm |
@@ -148,7 +148,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]; |
@@ -157,6 +157,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 { |
if (!parentWindow_) |
return; |