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

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

Issue 952023002: Credential Manager API: pop up the new "Manage accounts" bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix the test Created 5 years, 9 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/passwords/manage_passwords_bubble_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0e2ddb2f7d615fe78d8cbcd02f2e11e0a3e011a2..38d0a62a59fff6cbad4bbd873beeaee3f716b1ac 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
@@ -75,9 +75,14 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
// Called by the view code when the manage link is clicked by the user.
void OnManageLinkClicked();
- // Called by the view code when the auto-signin toast is about to close.
+ // Called by the view code when the auto-signin toast is about to close due to
+ // timeout.
void OnAutoSignInToastTimeout();
+ // Called by the view code when user clicks on the auto sign-in toast in order
+ // to manage credentials.
+ void OnAutoSignInClicked();
+
// Called by the view code to delete or add a password form to the
// PasswordStore.
void OnPasswordAction(const autofill::PasswordForm& password_form,
@@ -116,6 +121,10 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
Profile* GetProfile() const;
+ // Returns true iff the new UI should be presented to user for managing and
+ // saving the passwords.
+ bool IsNewUIActive() const;
+
#if defined(UNIT_TEST)
// Gets and sets the reason the bubble was displayed.
password_manager::metrics_util::UIDisplayDisposition display_disposition()
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/passwords/manage_passwords_bubble_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698