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

Unified Diff: chrome/browser/autofill/autofill_dialog_controller_mac.h

Issue 2799054: Remove the AutoFill enable/disable radio from the Options dialog to the AutoFill dialog (Closed)
Patch Set: Created 10 years, 6 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 | « chrome/app/nibs/Preferences.xib ('k') | chrome/browser/autofill/autofill_dialog_controller_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_dialog_controller_mac.h
diff --git a/chrome/browser/autofill/autofill_dialog_controller_mac.h b/chrome/browser/autofill/autofill_dialog_controller_mac.h
index 34e40fa400c0a764c03b78ca30563873061f8368..3318443012e22ea1b37e3c803268202a4b528976 100644
--- a/chrome/browser/autofill/autofill_dialog_controller_mac.h
+++ b/chrome/browser/autofill/autofill_dialog_controller_mac.h
@@ -58,6 +58,9 @@ class Profile;
// Working list of input credit cards.
std::vector<CreditCard> creditCards_;
+ // State of checkbox for enabling AutoFill in general.
+ BOOL autoFillEnabled_;
+
// State of checkbox for enabling Mac Address Book integration.
BOOL auxiliaryEnabled_;
@@ -81,6 +84,11 @@ class Profile;
personalDataManagerObserver_;
}
+// Property representing state of the AutoFill enabled preference. Checkbox is
+// bound to this in nib. Also, enabled state of other controls are also bound
+// to this property.
+@property (nonatomic) BOOL autoFillEnabled;
+
// Property representing state of Address Book "me" card usage. Checkbox is
// bound to this in nib.
@property (nonatomic) BOOL auxiliaryEnabled;
« no previous file with comments | « chrome/app/nibs/Preferences.xib ('k') | chrome/browser/autofill/autofill_dialog_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698