| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 const GURL& GetOrigin() const override; | 87 const GURL& GetOrigin() const override; |
| 88 password_manager::ui::State GetState() const override; | 88 password_manager::ui::State GetState() const override; |
| 89 const autofill::PasswordForm& GetPendingPassword() const override; | 89 const autofill::PasswordForm& GetPendingPassword() const override; |
| 90 bool IsPasswordOverridden() const override; | 90 bool IsPasswordOverridden() const override; |
| 91 const std::vector<std::unique_ptr<autofill::PasswordForm>>& GetCurrentForms() | 91 const std::vector<std::unique_ptr<autofill::PasswordForm>>& GetCurrentForms() |
| 92 const override; | 92 const override; |
| 93 const password_manager::InteractionsStats* GetCurrentInteractionStats() | 93 const password_manager::InteractionsStats* GetCurrentInteractionStats() |
| 94 const override; | 94 const override; |
| 95 void OnBubbleShown() override; | 95 void OnBubbleShown() override; |
| 96 void OnBubbleHidden() override; | 96 void OnBubbleHidden() override; |
| 97 void OnNoInteractionOnUpdate() override; | 97 void OnNoInteraction() override; |
| 98 void OnNopeUpdateClicked() override; | 98 void OnNopeUpdateClicked() override; |
| 99 void NeverSavePassword() override; | 99 void NeverSavePassword() override; |
| 100 void SavePassword() override; | 100 void SavePassword() override; |
| 101 void UpdatePassword(const autofill::PasswordForm& password_form) override; | 101 void UpdatePassword(const autofill::PasswordForm& password_form) override; |
| 102 void ChooseCredential( | 102 void ChooseCredential( |
| 103 const autofill::PasswordForm& form, | 103 const autofill::PasswordForm& form, |
| 104 password_manager::CredentialType credential_type) override; | 104 password_manager::CredentialType credential_type) override; |
| 105 void NavigateToExternalPasswordManager() override; | 105 void NavigateToExternalPasswordManager() override; |
| 106 void NavigateToSmartLockHelpPage() override; | 106 void NavigateToSmartLockHelpPage() override; |
| 107 void NavigateToPasswordManagerSettingsPage() override; | 107 void NavigateToPasswordManagerSettingsPage() override; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 // Thus, OnBubbleHidden() can be called after the new one is shown. By that | 185 // Thus, OnBubbleHidden() can be called after the new one is shown. By that |
| 186 // time the internal state of ManagePasswordsUIController has nothing to do | 186 // time the internal state of ManagePasswordsUIController has nothing to do |
| 187 // with the old bubble. | 187 // with the old bubble. |
| 188 // Invalidating all the weak pointers will detach the current bubble. | 188 // Invalidating all the weak pointers will detach the current bubble. |
| 189 base::WeakPtrFactory<ManagePasswordsUIController> weak_ptr_factory_; | 189 base::WeakPtrFactory<ManagePasswordsUIController> weak_ptr_factory_; |
| 190 | 190 |
| 191 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController); | 191 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController); |
| 192 }; | 192 }; |
| 193 | 193 |
| 194 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ | 194 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ |
| OLD | NEW |