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

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

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: chrome/renderer/autofill/fake_content_password_manager_driver.cc
diff --git a/chrome/renderer/autofill/fake_content_password_manager_driver.cc b/chrome/renderer/autofill/fake_content_password_manager_driver.cc
index c0fde7338a266af278a6c1294e5c0620744dc5ac..01e700aa1ffcce11cdc04af07fbb6faf79d89db1 100644
--- a/chrome/renderer/autofill/fake_content_password_manager_driver.cc
+++ b/chrome/renderer/autofill/fake_content_password_manager_driver.cc
@@ -58,6 +58,12 @@ void FakeContentPasswordManagerDriver::ShowPasswordSuggestions(
show_pw_suggestions_options_ = options;
}
+void FakeContentPasswordManagerDriver::ShowNotSecureWarning(
+ base::i18n::TextDirection text_direction,
+ const gfx::RectF& bounds) {
+ called_show_not_secure_warning_ = true;
+}
+
void FakeContentPasswordManagerDriver::PasswordAutofillAgentConstructed() {
called_agent_constructed_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698