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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_bubble_model.h

Issue 1151373006: Update Confirmation UI for saved password change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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/browser/ui/passwords/manage_passwords_bubble_model.h
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
index 16e0dcb359354c06cbc778c5e6eaa46e7fe87872..3d1e64d9b3d70541c15334df274babcf7335eb5e 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
@@ -63,9 +63,12 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
// Called by the view code when the site is unblacklisted.
void OnUnblacklistClicked();
- // Called by the view code when the save button in clicked by the user.
+ // Called by the view code when the save button is clicked by the user.
void OnSaveClicked();
+ // Called by the view code when the update link is clicked by the user.
+ void OnUpdateClicked(const autofill::PasswordForm& password_form);
+
// Called by the view code when the "Done" button is clicked by the user.
void OnDoneClicked();
@@ -132,6 +135,10 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
// saving the passwords.
bool IsNewUIActive() const;
+ // Returns true iff the multiple account selection prompt for account update
+ // should be presented.
+ bool ShouldShowMultipleAccountUpdateUI() const;
+
#if defined(UNIT_TEST)
// Gets and sets the reason the bubble was displayed.
password_manager::metrics_util::UIDisplayDisposition display_disposition()

Powered by Google App Engine
This is Rietveld 408576698