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

Side by Side Diff: ios/chrome/browser/payments/payment_request_editor_field.mm

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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import "ios/chrome/browser/payments/payment_request_editor_field.h"
6
7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support."
9 #endif
10
11 @implementation EditorField
12
13 @synthesize autofillType = _autofillType;
14 @synthesize label = _label;
15 @synthesize value = _value;
16 @synthesize required = _required;
17 @synthesize item = _item;
18 @synthesize sectionIdentifier = _sectionIdentifier;
19
20 - (instancetype)initWithAutofillType:(NSInteger)autofillType
21 label:(NSString*)label
22 value:(NSString*)value
23 required:(BOOL)required {
24 self = [super init];
25 if (self) {
26 _autofillType = autofillType;
27 _label = label;
28 _value = value;
29 _required = required;
30 }
31 return self;
32 }
33
34 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/payments/payment_request_editor_field.h ('k') | ios/chrome/browser/ui/settings/cells/autofill_edit_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698