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

Unified Diff: ios/chrome/browser/ui/payments/payment_request_edit_view_controller_data_source.h

Issue 2949813003: [Payment Request] Formats phone number and credit card number in editors. (Closed)
Patch Set: Fixed broken tests Created 3 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
Index: ios/chrome/browser/ui/payments/payment_request_edit_view_controller_data_source.h
diff --git a/ios/chrome/browser/ui/payments/payment_request_edit_view_controller_data_source.h b/ios/chrome/browser/ui/payments/payment_request_edit_view_controller_data_source.h
index d3bc084b86e885c5e51f89f9729c678410919421..9393b6e5b91866fd8ce84993ec051ca7b1431edc 100644
--- a/ios/chrome/browser/ui/payments/payment_request_edit_view_controller_data_source.h
+++ b/ios/chrome/browser/ui/payments/payment_request_edit_view_controller_data_source.h
@@ -30,6 +30,9 @@ typedef NS_ENUM(NSInteger, EditViewControllerState) {
// Returns whether the header item should hide its background.
- (BOOL)shouldHideBackgroundForHeaderItem;
+// Formats the editor field value, if necessary.
+- (void)formatValueForEditorField:(EditorField*)field;
+
// Returns an icon that identifies |field| or its current value. May be nil.
- (UIImage*)iconIdentifyingEditorField:(EditorField*)field;

Powered by Google App Engine
This is Rietveld 408576698