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

Unified Diff: ios/chrome/browser/ui/settings/cells/autofill_edit_item.h

Issue 2744823003: [Payment Request] Generic edit form (Closed)
Patch Set: rebase Created 3 years, 9 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: ios/chrome/browser/ui/settings/cells/autofill_edit_item.h
diff --git a/ios/chrome/browser/ui/settings/cells/autofill_edit_item.h b/ios/chrome/browser/ui/settings/cells/autofill_edit_item.h
index dd8ca2e79b50bac9e4e4ff02b0a35d6c2d915a84..1daf20008f61c060bfc2db58d4cb71761e9edeed 100644
--- a/ios/chrome/browser/ui/settings/cells/autofill_edit_item.h
+++ b/ios/chrome/browser/ui/settings/cells/autofill_edit_item.h
@@ -25,8 +25,14 @@
@property(nonatomic, copy) UIImage* cardTypeIcon;
// The field type this item is describing.
+// TODO(crbug.com/702252): Get rid of the dependency on the model type.
@property(nonatomic, assign) autofill::ServerFieldType autofillType;
+// Whether this field is required. If YES, an "*" is appended to the name of the
+// text field to indicate that the field is required. It is also used for
+// validation purposes.
+@property(nonatomic, getter=isRequired) BOOL required;
+
// Whether the text field is enabled for editing.
@property(nonatomic, getter=isTextFieldEnabled) BOOL textFieldEnabled;

Powered by Google App Engine
This is Rietveld 408576698