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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // Update the data list values shown by the Autofill popup, if visible. | 88 // Update the data list values shown by the Autofill popup, if visible. |
89 virtual void UpdateAutofillPopupDataListValues( | 89 virtual void UpdateAutofillPopupDataListValues( |
90 const std::vector<base::string16>& values, | 90 const std::vector<base::string16>& values, |
91 const std::vector<base::string16>& labels) = 0; | 91 const std::vector<base::string16>& labels) = 0; |
92 | 92 |
93 // Hide the Autofill popup if one is currently showing. | 93 // Hide the Autofill popup if one is currently showing. |
94 virtual void HideAutofillPopup() = 0; | 94 virtual void HideAutofillPopup() = 0; |
95 | 95 |
96 // Whether the Autocomplete feature of Autofill should be enabled. | 96 // Whether the Autocomplete feature of Autofill should be enabled. |
97 virtual bool IsAutocompleteEnabled() = 0; | 97 virtual bool IsAutocompleteEnabled() = 0; |
| 98 |
| 99 // Pass the form structures to the password generation manager to detect |
| 100 // account creation forms. |
| 101 virtual void DetectAccountCreationForms( |
| 102 const std::vector<autofill::FormStructure*>& forms) = 0; |
98 }; | 103 }; |
99 | 104 |
100 } // namespace autofill | 105 } // namespace autofill |
101 | 106 |
102 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ | 107 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ |
OLD | NEW |