| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ |
| 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ | 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 // Called by the view code when the "Done" button is clicked by the user. | 55 // Called by the view code when the "Done" button is clicked by the user. |
| 56 void OnDoneClicked(); | 56 void OnDoneClicked(); |
| 57 | 57 |
| 58 // Called by the view code when the "OK" button is clicked by the user. | 58 // Called by the view code when the "OK" button is clicked by the user. |
| 59 void OnOKClicked(); | 59 void OnOKClicked(); |
| 60 | 60 |
| 61 // Called by the view code when the manage link is clicked by the user. | 61 // Called by the view code when the manage link is clicked by the user. |
| 62 void OnManageLinkClicked(); | 62 void OnManageLinkClicked(); |
| 63 | 63 |
| 64 // Called by the view code when the navigate to passwords.google.com link is |
| 65 // clicked by the user. |
| 66 void OnNavigateToPasswordManagerAccountDashboardLinkClicked(); |
| 67 |
| 64 // Called by the view code when the brand name link is clicked by the user. | 68 // Called by the view code when the brand name link is clicked by the user. |
| 65 void OnBrandLinkClicked(); | 69 void OnBrandLinkClicked(); |
| 66 | 70 |
| 67 // Called by the view code when the auto-signin toast is about to close due to | 71 // Called by the view code when the auto-signin toast is about to close due to |
| 68 // timeout. | 72 // timeout. |
| 69 void OnAutoSignInToastTimeout(); | 73 void OnAutoSignInToastTimeout(); |
| 70 | 74 |
| 71 // Called by the view code to delete or add a password form to the | 75 // Called by the view code to delete or add a password form to the |
| 72 // PasswordStore. | 76 // PasswordStore. |
| 73 void OnPasswordAction(const autofill::PasswordForm& password_form, | 77 void OnPasswordAction(const autofill::PasswordForm& password_form, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 // Responsible for recording all the interactions required. | 152 // Responsible for recording all the interactions required. |
| 149 std::unique_ptr<InteractionKeeper> interaction_keeper_; | 153 std::unique_ptr<InteractionKeeper> interaction_keeper_; |
| 150 | 154 |
| 151 // A bridge to ManagePasswordsUIController instance. | 155 // A bridge to ManagePasswordsUIController instance. |
| 152 base::WeakPtr<PasswordsModelDelegate> delegate_; | 156 base::WeakPtr<PasswordsModelDelegate> delegate_; |
| 153 | 157 |
| 154 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleModel); | 158 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleModel); |
| 155 }; | 159 }; |
| 156 | 160 |
| 157 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ | 161 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ |
| OLD | NEW |