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

Unified Diff: components/password_manager/core/browser/password_manager_client.h

Issue 2915763003: [Password Manager] Show omnibox icon and anchored prompt once user start typing password (Closed)
Patch Set: Changes addressed to vasilii@ comments 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: components/password_manager/core/browser/password_manager_client.h
diff --git a/components/password_manager/core/browser/password_manager_client.h b/components/password_manager/core/browser/password_manager_client.h
index 58bc5ed1cfb50d4c4e602aa039f2de22500fbeba..59202b67e14a411b094137ced98aaeda06bddb26 100644
--- a/components/password_manager/core/browser/password_manager_client.h
+++ b/components/password_manager/core/browser/password_manager_client.h
@@ -94,7 +94,17 @@ class PasswordManagerClient {
// that was overidden.
virtual bool PromptUserToSaveOrUpdatePassword(
std::unique_ptr<PasswordFormManager> form_to_save,
- bool update_password) = 0;
+ bool is_update) = 0;
+
+ // Informs the embedder that the user started typing a password and a password
+ // prompt should be available on click on the omnibox icon.
+ virtual void ShowManualFallbackForSaving(
+ std::unique_ptr<PasswordFormManager> form_to_save,
+ bool is_update) = 0;
+
+ // Informs the embedder that the user cleared the password field and the
+ // fallback for password saving should be not available.
+ virtual void HideManualFallbackForSaving() = 0;
// Informs the embedder of a password forms that the user should choose from.
// Returns true if the prompt is indeed displayed. If the prompt is not

Powered by Google App Engine
This is Rietveld 408576698