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

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

Issue 11539003: Pop up requestAutocomplete UI when autofill server hints chrome client that it is in a multipage au… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Resolve with AutofillDialogController refactoring. Created 7 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
« no previous file with comments | « chrome/common/form_data.cc ('k') | no next file » | 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 b20be00f75c3328b64f16f84a87288d9011a8c34..820523c391f092b43419886911d5d85070a32d8b 100644
--- a/chrome/renderer/autofill/autofill_agent.cc
+++ b/chrome/renderer/autofill/autofill_agent.cc
@@ -236,6 +236,7 @@ void AutofillAgent::didRequestAutocomplete(WebKit::WebFrame* frame,
HidePopups();
in_flight_request_form_ = form;
+ // TODO(ramankk): Include SSLStatus within form_data and update the IPC.
Send(new AutofillHostMsg_RequestAutocomplete(
routing_id(),
form_data,
@@ -713,6 +714,10 @@ void AutofillAgent::QueryAutofillSuggestions(const WebInputElement& element,
data_list_icons,
data_list_unique_ids));
+ // Add SSL Status in the formdata to let browser process alert user
+ // appropriately using browser UI.
+ form.ssl_status = render_view()->GetSSLStatusOfFrame(
+ element.document().frame());
Send(new AutofillHostMsg_QueryFormFieldAutofill(routing_id(),
autofill_query_id_,
form,
« no previous file with comments | « chrome/common/form_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698