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

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

Issue 2915763003: [Password Manager] Show omnibox icon and anchored prompt once user start typing password (Closed)
Patch Set: Sent For Review Created 3 years, 5 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 096014c414e94f12c04653ac6651454179da966a..f770b283a936f64cd9d8a81c73e5c5ea3546d92c 100644
--- a/chrome/renderer/autofill/fake_content_password_manager_driver.cc
+++ b/chrome/renderer/autofill/fake_content_password_manager_driver.cc
@@ -92,3 +92,12 @@ void FakeContentPasswordManagerDriver::CheckSafeBrowsingReputation(
const GURL& frame_url) {
called_check_safe_browsing_reputation_cnt_++;
}
+
+void FakeContentPasswordManagerDriver::ShowManualFallback(
+ const autofill::PasswordForm& password_form) {
+ called_show_manual_fallback_cnt_++;
+}
+
+void FakeContentPasswordManagerDriver::HideManualFallback() {
+ called_show_manual_fallback_cnt_ = 0;
+}

Powered by Google App Engine
This is Rietveld 408576698