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

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: unbork rebase and fix unittest 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 f9a234f0f28cbd389d22f5f8c0992dcb213849bb..eaf4956a61f43f70b007dcdd05209f332a6e0e4c 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm
@@ -224,7 +224,7 @@ const CGFloat kSupervisedUserSpacing = 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];
@@ -262,7 +262,7 @@ const CGFloat kSupervisedUserSpacing = 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];
@@ -288,7 +288,7 @@ const CGFloat kSupervisedUserSpacing = 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];
« no previous file with comments | « chrome/browser/ui/cocoa/base_bubble_controller.mm ('k') | chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698