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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm

Issue 19287006: [rAC, OSX] "Save In Chrome" checkbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-upload - CQ is capricious Created 7 years, 5 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/autofill/autofill_dialog_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
index 63b5cde327ced28270bbd2f02e53f2174418a794..6ac323b8fa2b020689d2a855b12a617c0a63bedb 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
@@ -103,7 +103,7 @@ string16 AutofillDialogCocoa::GetCvc() {
}
bool AutofillDialogCocoa::SaveDetailsLocally() {
- return false;
+ return [sheet_controller_ saveDetailsLocally];
}
const content::NavigationController* AutofillDialogCocoa::ShowSignIn() {
@@ -326,6 +326,10 @@ void AutofillDialogCocoa::OnConstrainedWindowClosed(
[[mainContainer_ sectionForId:section] getInputs:output];
}
+- (BOOL)saveDetailsLocally {
+ return [mainContainer_ saveDetailsLocally];
+}
+
- (void)hideSignIn {
[[signInContainer_ view] setHidden:YES];
[[mainContainer_ view] setHidden:NO];

Powered by Google App Engine
This is Rietveld 408576698