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_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_H_ |
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 const gfx::RectF& bounding_box, | 238 const gfx::RectF& bounding_box, |
239 bool display_warning); | 239 bool display_warning); |
240 void OnDidEndTextFieldEditing(); | 240 void OnDidEndTextFieldEditing(); |
241 void OnHideAutofillUi(); | 241 void OnHideAutofillUi(); |
242 void OnAddPasswordFormMapping( | 242 void OnAddPasswordFormMapping( |
243 const FormFieldData& form, | 243 const FormFieldData& form, |
244 const PasswordFormFillData& fill_data); | 244 const PasswordFormFillData& fill_data); |
245 void OnShowPasswordSuggestions( | 245 void OnShowPasswordSuggestions( |
246 const FormFieldData& field, | 246 const FormFieldData& field, |
247 const gfx::RectF& bounds, | 247 const gfx::RectF& bounds, |
248 const std::vector<base::string16>& suggestions); | 248 const std::vector<base::string16>& suggestions, |
| 249 const std::vector<base::string16>& origins); |
249 void OnSetDataList(const std::vector<base::string16>& values, | 250 void OnSetDataList(const std::vector<base::string16>& values, |
250 const std::vector<base::string16>& labels, | 251 const std::vector<base::string16>& labels, |
251 const std::vector<base::string16>& icons, | 252 const std::vector<base::string16>& icons, |
252 const std::vector<int>& unique_ids); | 253 const std::vector<int>& unique_ids); |
253 | 254 |
254 // Requests an interactive autocomplete UI be shown. | 255 // Requests an interactive autocomplete UI be shown. |
255 void OnRequestAutocomplete(const FormData& form, | 256 void OnRequestAutocomplete(const FormData& form, |
256 const GURL& frame_url); | 257 const GURL& frame_url); |
257 | 258 |
258 // Passes return data for an OnRequestAutocomplete call back to the page. | 259 // Passes return data for an OnRequestAutocomplete call back to the page. |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, | 428 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, |
428 UserHappinessFormLoadAndSubmission); | 429 UserHappinessFormLoadAndSubmission); |
429 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); | 430 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); |
430 | 431 |
431 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 432 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
432 }; | 433 }; |
433 | 434 |
434 } // namespace autofill | 435 } // namespace autofill |
435 | 436 |
436 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_H_ | 437 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_H_ |
OLD | NEW |