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