Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7839)

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm

Issue 323143004: [Mac] Misc fixes for the new avatar bubble (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm
index 98335a3c1fd6471b540742c1ea24f3b876b3ca20..3a0f0d1b012a99bff620f637c039c876a18c0832 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm
@@ -223,7 +223,7 @@ const CGFloat kManagedUserSpacing = 26.0;
[contentView addSubview:newButton];
yOffset += NSHeight([newButton frame]) + kVerticalSpacing;
- NSBox* separator = [self separatorWithFrame:
+ NSBox* separator = [self horizontalSeparatorWithFrame:
NSMakeRect(10, yOffset, NSWidth([contentView frame]) - 20, 0)];
[separator setAutoresizingMask:NSViewWidthSizable];
[contentView addSubview:separator];
@@ -261,7 +261,7 @@ const CGFloat kManagedUserSpacing = 26.0;
[contentView addSubview:newButton];
yOffset += NSHeight([newButton frame]) + kVerticalSpacing;
- NSBox* separator = [self separatorWithFrame:
+ NSBox* separator = [self horizontalSeparatorWithFrame:
NSMakeRect(10, yOffset, NSWidth([contentView frame]) - 20, 0)];
[separator setAutoresizingMask:NSViewWidthSizable];
[contentView addSubview:separator];
@@ -287,7 +287,7 @@ const CGFloat kManagedUserSpacing = 26.0;
[contentView addSubview:info];
yOffset += NSHeight([info frame]) + kVerticalSpacing;
- separator = [self separatorWithFrame:
+ separator = [self horizontalSeparatorWithFrame:
NSMakeRect(10, yOffset, NSWidth([contentView frame]) - 20, 0)];
[separator setAutoresizingMask:NSViewWidthSizable];
[contentView addSubview:separator];

Powered by Google App Engine
This is Rietveld 408576698