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

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

Issue 2378503002: Observe visibility of password inputs, for HTTP-bad phase 1 (Closed)
Patch Set: fix components_unittests build failure Created 4 years, 3 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.cc
diff --git a/components/autofill/content/renderer/password_autofill_agent.cc b/components/autofill/content/renderer/password_autofill_agent.cc
index c4038ecf816eec46d53cf4041fbd0228c4e8d1a5..8649008fb8e5fbb8a17c9f068ccdc126495022e5 100644
--- a/components/autofill/content/renderer/password_autofill_agent.cc
+++ b/components/autofill/content/renderer/password_autofill_agent.cc
@@ -912,6 +912,10 @@ void PasswordAutofillAgent::AJAXSucceeded() {
OnSamePageNavigationCompleted();
}
+void PasswordAutofillAgent::OnPasswordFieldVisible() {
+ GetPasswordManagerDriver()->PasswordFieldVisible();
+}
+
void PasswordAutofillAgent::OnSamePageNavigationCompleted() {
if (!ProvisionallySavedPasswordIsValid())
return;

Powered by Google App Engine
This is Rietveld 408576698