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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 virtual void HideAutofillPopup() = 0; | 135 virtual void HideAutofillPopup() = 0; |
136 | 136 |
137 // Whether the Autocomplete feature of Autofill should be enabled. | 137 // Whether the Autocomplete feature of Autofill should be enabled. |
138 virtual bool IsAutocompleteEnabled() = 0; | 138 virtual bool IsAutocompleteEnabled() = 0; |
139 | 139 |
140 // Update progress of the Autocheckout flow as displayed to the user. | 140 // Update progress of the Autocheckout flow as displayed to the user. |
141 virtual void AddAutocheckoutStep(AutocheckoutStepType step_type) = 0; | 141 virtual void AddAutocheckoutStep(AutocheckoutStepType step_type) = 0; |
142 virtual void UpdateAutocheckoutStep( | 142 virtual void UpdateAutocheckoutStep( |
143 AutocheckoutStepType step_type, | 143 AutocheckoutStepType step_type, |
144 AutocheckoutStepStatus step_status) = 0; | 144 AutocheckoutStepStatus step_status) = 0; |
| 145 |
| 146 // Pass the form structures to the password generation manager to detect |
| 147 // account creation forms. |
| 148 virtual void DetectAccountCreationForms( |
| 149 const std::vector<autofill::FormStructure*>& forms) = 0; |
145 }; | 150 }; |
146 | 151 |
147 } // namespace autofill | 152 } // namespace autofill |
148 | 153 |
149 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ | 154 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ |
OLD | NEW |