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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_section_container.h

Issue 49093008: [rAc OSX] Return CVC data from Autofill dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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: chrome/browser/ui/cocoa/autofill/autofill_section_container.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_section_container.h b/chrome/browser/ui/cocoa/autofill/autofill_section_container.h
index af19070b6ecd10a781832d3bf1410554d9af5055..6bdbcb556ceef8f224cbd32517a30d6fac6cdd84 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_section_container.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_section_container.h
@@ -67,7 +67,7 @@ namespace autofill {
// Designated initializer. Queries |delegate| for the list of desired input
// fields for |section|.
- (id)initWithDelegate:(autofill::AutofillDialogViewDelegate*)delegate
- forSection:(autofill::DialogSection)section;
+ forSection:(autofill::DialogSection)section;
// Populates |output| with mappings from field identification to input value.
- (void)getInputs:(autofill::DetailOutputMap*)output;
@@ -85,6 +85,10 @@ namespace autofill {
// Validate this section. Validation rules depend on |validationType|.
- (BOOL)validateFor:(autofill::ValidationType)validationType;
+// Returns the value of the |suggestContainer_|'s input field, or nil if no
+// suggestion is currently showing.
+- (NSString*)suggestionText;
+
@end
@interface AutofillSectionContainer (ForTesting)
@@ -95,7 +99,7 @@ namespace autofill {
// Sets the value for the field matching |input|. Does nothing if the field is
// not part of this section.
- (void)setFieldValue:(NSString*)text
- forInput:(const autofill::DetailInput&)input;
+ forInput:(const autofill::DetailInput&)input;
// Sets the value for the suggestion text field.
- (void)setSuggestionFieldValue:(NSString*)text;

Powered by Google App Engine
This is Rietveld 408576698