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

Unified Diff: chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.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/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

Powered by Google App Engine
This is Rietveld 408576698