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

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

Issue 1991893002: Remove debug code from the autosign-in first run 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5f1067897a0ff6428ff6c0b8bb529d679b003508 100644
--- a/chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm
@@ -126,14 +126,6 @@ NSButton* BiggerDialogButton(NSString* title) {
[_turnOffButton setAction:@selector(onTurnOffClicked:)];
[view addSubview:_turnOffButton];
- // Invisible button to handle ESC.
- base::scoped_nsobject<NSButton> cancel_button(
- [[NSButton alloc] initWithFrame:NSZeroRect]);
- [cancel_button setTarget:self];
- [cancel_button setAction:@selector(onEscClicked:)];
- [cancel_button setKeyEquivalent:kKeyEquivalentEscape];
- [view addSubview:cancel_button];
-
// Layout.
// Compute the bubble width using the title and the buttons.
const CGFloat contentWidth = kDesiredBubbleWidth;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698