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_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 const gfx::RectF& bounding_box, | 155 const gfx::RectF& bounding_box, |
156 bool display_warning); | 156 bool display_warning); |
157 void OnDidEndTextFieldEditing(); | 157 void OnDidEndTextFieldEditing(); |
158 void OnHideAutofillUi(); | 158 void OnHideAutofillUi(); |
159 void OnAddPasswordFormMapping( | 159 void OnAddPasswordFormMapping( |
160 const FormFieldData& form, | 160 const FormFieldData& form, |
161 const PasswordFormFillData& fill_data); | 161 const PasswordFormFillData& fill_data); |
162 void OnShowPasswordSuggestions( | 162 void OnShowPasswordSuggestions( |
163 const FormFieldData& field, | 163 const FormFieldData& field, |
164 const gfx::RectF& bounds, | 164 const gfx::RectF& bounds, |
165 const std::vector<base::string16>& suggestions); | 165 const std::vector<base::string16>& suggestions, |
| 166 const std::vector<base::string16>& realms); |
166 void OnSetDataList(const std::vector<base::string16>& values, | 167 void OnSetDataList(const std::vector<base::string16>& values, |
167 const std::vector<base::string16>& labels, | 168 const std::vector<base::string16>& labels, |
168 const std::vector<base::string16>& icons, | 169 const std::vector<base::string16>& icons, |
169 const std::vector<int>& unique_ids); | 170 const std::vector<int>& unique_ids); |
170 | 171 |
171 // Requests an interactive autocomplete UI be shown. | 172 // Requests an interactive autocomplete UI be shown. |
172 void OnRequestAutocomplete(const FormData& form, | 173 void OnRequestAutocomplete(const FormData& form, |
173 const GURL& frame_url); | 174 const GURL& frame_url); |
174 | 175 |
175 // Called to signal clicking an element failed in some way during an | 176 // Called to signal clicking an element failed in some way during an |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, | 410 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, |
410 UserHappinessFormLoadAndSubmission); | 411 UserHappinessFormLoadAndSubmission); |
411 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); | 412 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); |
412 | 413 |
413 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 414 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
414 }; | 415 }; |
415 | 416 |
416 } // namespace autofill | 417 } // namespace autofill |
417 | 418 |
418 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 419 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
OLD | NEW |