| 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) {
|
|
|