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

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: Initializing form_field variables 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
« no previous file with comments | « chrome/common/autofill_messages.h ('k') | chrome/renderer/autofill/form_autofill_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/autofill/autofill_agent.cc
diff --git a/chrome/renderer/autofill/autofill_agent.cc b/chrome/renderer/autofill/autofill_agent.cc
index 4b2a616119bc9f0f813c6470d373cba7f10cb3f0..c4e8e33217b8d637d5e37f29f76db2d60e3057c0 100644
--- a/chrome/renderer/autofill/autofill_agent.cc
+++ b/chrome/renderer/autofill/autofill_agent.cc
@@ -206,6 +206,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_DidEndTextFieldEditing(routing_id()));
}
void AutofillAgent::textFieldDidChange(const WebInputElement& element) {
@@ -422,8 +423,12 @@ void AutofillAgent::QueryAutofillSuggestions(const WebInputElement& element,
// gfx::Rect bounding_box(autofill_query_element_.boundsInRootViewSpace());
gfx::Rect bounding_box(26, 51, 155, 22);
- Send(new AutofillHostMsg_QueryFormFieldAutofill(
- routing_id(), autofill_query_id_, form, field, bounding_box));
+ Send(new AutofillHostMsg_QueryFormFieldAutofill(routing_id(),
+ autofill_query_id_,
+ form,
+ field,
+ bounding_box,
+ display_warning_if_disabled));
}
void AutofillAgent::FillAutofillFormData(const WebNode& node,
« no previous file with comments | « chrome/common/autofill_messages.h ('k') | chrome/renderer/autofill/form_autofill_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698