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

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

Issue 2676653004: Show FormNotSecure warnings on sensitive inputs in non-secure contexts (Closed)
Patch Set: Created 3 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: 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 b6e31cd720984a0b7d18db95d0655f3ff72f0bf3..ce63053cce8d24ddc2c8f35134b67e19426a8580 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -94,9 +94,9 @@ 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.
+ // Shows an Autofill-style popup with a warning that the form is not secure.
+ // This UI is shown when a username or password field is autofilled or edited
+ // on a non-secure page.
void ShowNotSecureWarning(const blink::WebInputElement& element);
// Called when new form controls are inserted.
« no previous file with comments | « components/autofill/content/renderer/DEPS ('k') | components/autofill/content/renderer/password_autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698