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

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: merge with the trunk 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
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..8b64266985ce8a9ce9c9015e95b4d187ecdf5b51 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 YOLO UI should be presented to user for managing
Mike West 2015/03/18 08:33:51 Nit: s/YOLO//.
vasilii 2015/03/18 09:25:08 Done.
+ // 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()

Powered by Google App Engine
This is Rietveld 408576698