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

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

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
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/autofill_section_container.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
index 59343e0d281c3a237bc0100b1f0107035637d7e5..2ba05617d120df39daa9a92cda593ec85626a3d7 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
@@ -366,6 +366,10 @@ bool CompareInputRows(const autofill::DetailInput* input1,
return !messages.HasErrors();
}
+- (NSString*)suggestionText {
+ return showSuggestions_ ? [[suggestContainer_ inputField] stringValue] : nil;
+}
+
#pragma mark Internal API for AutofillSectionContainer.
- (void)textfieldEditedOrActivated:(NSControl<AutofillInputField>*)field
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/autofill_section_container.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698