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

Unified Diff: chrome/renderer/autofill/autofill_agent.cc

Issue 8488011: Moving AutofillAgent Logic into Browser (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month 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/renderer/autofill/autofill_agent.cc
diff --git a/chrome/renderer/autofill/autofill_agent.cc b/chrome/renderer/autofill/autofill_agent.cc
index f293635e2f12f19b1138d00a1f81ae2c817d37e4..349f7f4be143e0ae8426ee74b3ac92e8968d01bf 100644
--- a/chrome/renderer/autofill/autofill_agent.cc
+++ b/chrome/renderer/autofill/autofill_agent.cc
@@ -203,6 +203,7 @@ void AutofillAgent::removeAutocompleteSuggestion(const WebString& name,
void AutofillAgent::textFieldDidEndEditing(const WebInputElement& element) {
password_autofill_manager_->TextFieldDidEndEditing(element);
has_shown_autofill_popup_for_current_edit_ = false;
+ Send(new AutofillHostMsg_SetDidEndTextFieldEditing(routing_id()));
}
void AutofillAgent::textFieldDidChange(const WebInputElement& element) {
@@ -414,8 +415,11 @@ void AutofillAgent::QueryAutofillSuggestions(const WebInputElement& element,
WebFormControlElementToFormField(element, EXTRACT_VALUE, &field);
}
- Send(new AutofillHostMsg_QueryFormFieldAutofill(
- routing_id(), autofill_query_id_, form, field));
+ Send(new AutofillHostMsg_QueryFormFieldAutofill(routing_id(),
+ autofill_query_id_,
+ form,
+ field,
+ display_warning_if_disabled));
}
void AutofillAgent::FillAutofillFormData(const WebNode& node,

Powered by Google App Engine
This is Rietveld 408576698