| Index: chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm b/chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm
|
| index 6fdf43cf7b2b5eb0615378670aaad6c4aed44737..1046b2d406da23c8858dbd699fd5557cc2c5635d 100644
|
| --- a/chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm
|
| @@ -17,24 +17,6 @@
|
| #include "ui/base/cocoa/controls/hyperlink_text_view.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| -namespace {
|
| -
|
| -// Returns a NSRegularControlSize button. It's used for improving the contrast
|
| -// due to Accessabilty standards.
|
| -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();
|
| -}
|
| -
|
| -} // namespace
|
| -
|
| @interface AutoSigninPromptView : NSView
|
| @property (nonatomic, copy) BOOL (^escHandler)(NSEvent* theEvent);
|
| @end
|
|
|