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

Unified Diff: chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.mm

Issue 1992633003: Add "Sign In" button to the account chooser on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/passwords/passwords_bubble_utils.mm
diff --git a/chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.mm b/chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.mm
index 1ba951b62d9ff93f7ed0899828faf9fbb668b841..a8d22ff62eb0da5d829af7e1529afa4329491bbb 100644
--- a/chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.mm
+++ b/chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.mm
@@ -107,6 +107,18 @@ NSButton* DialogButton(NSString* title) {
return button.autorelease();
}
+NSButton* BiggerDialogButton(NSString* title) {
+ base::scoped_nsobject<NSButton> button(
+ [[NSButton alloc] initWithFrame:NSZeroRect]);
+ CGFloat fontSize = [NSFont systemFontSizeForControlSize:NSRegularControlSize];
+ [button setFont:[NSFont systemFontOfSize:fontSize]];
+ [button setTitle:title];
+ [button setBezelStyle:NSRoundedBezelStyle];
+ [[button cell] setControlSize:NSRegularControlSize];
+ [button sizeToFit];
+ return button.autorelease();
+}
+
HyperlinkTextView* TitleBubbleLabelWithLink(const base::string16& text,
gfx::Range range,
id<NSTextViewDelegate> delegate) {
« no previous file with comments | « chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.h ('k') | chrome/browser/ui/passwords/password_dialog_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698