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