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

Unified Diff: components/autofill/content/renderer/password_autofill_agent.h

Issue 2604453003: Show Form-Not-Secure warning on page load (Closed)
Patch Set: meacer, jochen comments Created 3 years, 12 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: components/autofill/content/renderer/password_autofill_agent.h
diff --git a/components/autofill/content/renderer/password_autofill_agent.h b/components/autofill/content/renderer/password_autofill_agent.h
index f1201271d4014d8d621995d050f0dc1e3e432245..b6e31cd720984a0b7d18db95d0655f3ff72f0bf3 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -94,6 +94,11 @@ class PasswordAutofillAgent : public content::RenderFrameObserver,
bool show_all,
bool generation_popup_showing);
+ // Shows an Autofill popup with a warning that the form is not
+ // secure. This is an experimental UI that is shown when a password
+ // field is autofilled on a non-secure page on page load.
+ void ShowNotSecureWarning(const blink::WebInputElement& element);
+
// Called when new form controls are inserted.
void OnDynamicFormsSeen();

Powered by Google App Engine
This is Rietveld 408576698