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

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

Issue 2956433002: [Payment Request] keyboardType, autoCapitalizationType, etc for text fields (Closed)
Patch Set: 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_editor_field.h
diff --git a/ios/chrome/browser/ui/payments/payment_request_editor_field.h b/ios/chrome/browser/ui/payments/payment_request_editor_field.h
index 27c0c6a07e5b4e9af9568ddd049503f6128c5a6d..5e091400e3c6863edac158a88c64c061e942ce37 100644
--- a/ios/chrome/browser/ui/payments/payment_request_editor_field.h
+++ b/ios/chrome/browser/ui/payments/payment_request_editor_field.h
@@ -5,7 +5,7 @@
#ifndef IOS_CHROME_BROWSER_UI_PAYMENTS_PAYMENT_REQUEST_EDITOR_FIELD_H_
#define IOS_CHROME_BROWSER_UI_PAYMENTS_PAYMENT_REQUEST_EDITOR_FIELD_H_
-#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
#import "ios/chrome/browser/ui/autofill/autofill_ui_type.h"
@@ -37,6 +37,13 @@ typedef NS_ENUM(NSInteger, EditorFieldType) {
@property(nonatomic, getter=isRequired) BOOL required;
// Whether the field is enabled.
@property(nonatomic, getter=isEnabled) BOOL enabled;
+// Controls the display of the return key when the keyboard is displaying.
+@property(nonatomic, assign) UIReturnKeyType returnKeyType;
+// Keyboard type to be displayed when the text field becomes first responder.
+@property(nonatomic, assign) UIKeyboardType keyboardType;
+// Controls autocapitalization behavior of the text field.
+@property(nonatomic, assign)
+ UITextAutocapitalizationType autoCapitalizationType;
// The associated CollectionViewItem instance. May be nil.
@property(nonatomic, strong) CollectionViewItem* item;
// The section identifier for the associated AutofillEditItem.

Powered by Google App Engine
This is Rietveld 408576698