OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ |
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ | 6 #define COMPONENTS_AUTOFILL_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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
122 const std::vector<base::string16>& labels, | 122 const std::vector<base::string16>& labels, |
123 const std::vector<base::string16>& icons, | 123 const std::vector<base::string16>& icons, |
124 const std::vector<int>& identifiers, | 124 const std::vector<int>& identifiers, |
125 base::WeakPtr<AutofillPopupDelegate> delegate) = 0; | 125 base::WeakPtr<AutofillPopupDelegate> delegate) = 0; |
126 | 126 |
127 // Hide the Autofill popup if one is currently showing. | 127 // Hide the Autofill popup if one is currently showing. |
128 virtual void HideAutofillPopup() = 0; | 128 virtual void HideAutofillPopup() = 0; |
129 | 129 |
130 // Updates the Autocheckout progress bar. |value| must be in [0.0, 1.0]. | 130 // Updates the Autocheckout progress bar. |value| must be in [0.0, 1.0]. |
131 virtual void UpdateProgressBar(double value) = 0; | 131 virtual void UpdateProgressBar(double value) = 0; |
132 | |
133 // Whether the autocomplete feature of Autofill should be enabled. | |
Ilya Sherman
2013/06/19 00:38:27
nit: "Autocomplete" (feature names are capitalized
sgurun-gerrit only
2013/06/19 17:56:23
Done.
| |
134 virtual bool IsAutocompleteEnabled() = 0; | |
132 }; | 135 }; |
133 | 136 |
134 } // namespace autofill | 137 } // namespace autofill |
135 | 138 |
136 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ | 139 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ |
OLD | NEW |