Chromium Code Reviews| 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() |