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

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

Issue 127153004: Change AutofillDialogControllerImpl::input_showing_popup_ -> popup_input_type_ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
index 31d0bb8178683dcc85fee5c9924045ea032e7c38..2afcb6457131600b41168524196f3f29024d6d98 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
@@ -345,13 +345,13 @@ bool ShouldOverwriteComboboxes(autofill::DialogSection section,
[self updateAndClobber:YES];
}
-- (void)fillForInput:(const autofill::DetailInput&)input {
+- (void)fillForType:(const autofill::ServerFieldType)type {
// Make sure to overwrite the originating input if it is a text field.
AutofillTextField* field =
- base::mac::ObjCCast<AutofillTextField>([inputs_ viewWithTag:input.type]);
+ base::mac::ObjCCast<AutofillTextField>([inputs_ viewWithTag:type]);
[field setFieldValue:@""];
- if (ShouldOverwriteComboboxes(section_, input.type)) {
+ if (ShouldOverwriteComboboxes(section_, type)) {
for (NSControl* control in [inputs_ subviews]) {
AutofillPopUpButton* popup =
base::mac::ObjCCast<AutofillPopUpButton>(control);

Powered by Google App Engine
This is Rietveld 408576698