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

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

Issue 2731293002: [Payment Request] Updates AutofillEditItem to reuse in Payment Request (Closed)
Patch Set: Addressed comments 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 2c44f4ce871623db1f504976320b75473b147343..dd8ca2e79b50bac9e4e4ff02b0a35d6c2d915a84 100644
--- a/ios/chrome/browser/ui/settings/cells/autofill_edit_item.h
+++ b/ios/chrome/browser/ui/settings/cells/autofill_edit_item.h
@@ -21,6 +21,9 @@
// The value of the text field.
@property(nonatomic, copy) NSString* textFieldValue;
+// An image corresponding to the type of the credit card, if any.
+@property(nonatomic, copy) UIImage* cardTypeIcon;
+
// The field type this item is describing.
@property(nonatomic, assign) autofill::ServerFieldType autofillType;
@@ -40,6 +43,9 @@
// |textFieldValue|.
@property(nonatomic, readonly, strong) UITextField* textField;
+// UIImageView containing the credit card type icon.
+@property(nonatomic, readonly, strong) UIImageView* cardTypeIconView;
+
@end
#endif // IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_AUTOFILL_EDIT_ITEM_H_

Powered by Google App Engine
This is Rietveld 408576698