| 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 #include "components/autofill/core/browser/test_autofill_manager_delegate.h" | 5 #include "components/autofill/core/browser/test_autofill_manager_delegate.h" |
| 6 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 6 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 7 | 7 |
| 8 namespace autofill { | 8 namespace autofill { |
| 9 | 9 |
| 10 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {} | 10 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {} |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 void TestAutofillManagerDelegate::ShowAutofillSettings() {} | 26 void TestAutofillManagerDelegate::ShowAutofillSettings() {} |
| 27 | 27 |
| 28 void TestAutofillManagerDelegate::ConfirmSaveCreditCard( | 28 void TestAutofillManagerDelegate::ConfirmSaveCreditCard( |
| 29 const AutofillMetrics& metric_logger, | 29 const AutofillMetrics& metric_logger, |
| 30 const base::Closure& save_card_callback) {} | 30 const base::Closure& save_card_callback) {} |
| 31 | 31 |
| 32 void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog( | 32 void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog( |
| 33 const FormData& form, | 33 const FormData& form, |
| 34 const GURL& source_url, | 34 const GURL& source_url, |
| 35 const base::Callback<void(const FormStructure*)>& callback) {} | 35 const ResultCallback& callback) {} |
| 36 | 36 |
| 37 void TestAutofillManagerDelegate::ShowAutofillPopup( | 37 void TestAutofillManagerDelegate::ShowAutofillPopup( |
| 38 const gfx::RectF& element_bounds, | 38 const gfx::RectF& element_bounds, |
| 39 base::i18n::TextDirection text_direction, | 39 base::i18n::TextDirection text_direction, |
| 40 const std::vector<base::string16>& values, | 40 const std::vector<base::string16>& values, |
| 41 const std::vector<base::string16>& labels, | 41 const std::vector<base::string16>& labels, |
| 42 const std::vector<base::string16>& icons, | 42 const std::vector<base::string16>& icons, |
| 43 const std::vector<int>& identifiers, | 43 const std::vector<int>& identifiers, |
| 44 base::WeakPtr<AutofillPopupDelegate> delegate) {} | 44 base::WeakPtr<AutofillPopupDelegate> delegate) {} |
| 45 | 45 |
| 46 void TestAutofillManagerDelegate::UpdateAutofillPopupDataListValues( | 46 void TestAutofillManagerDelegate::UpdateAutofillPopupDataListValues( |
| 47 const std::vector<base::string16>& values, | 47 const std::vector<base::string16>& values, |
| 48 const std::vector<base::string16>& labels) {} | 48 const std::vector<base::string16>& labels) {} |
| 49 | 49 |
| 50 void TestAutofillManagerDelegate::HideAutofillPopup() {} | 50 void TestAutofillManagerDelegate::HideAutofillPopup() {} |
| 51 | 51 |
| 52 bool TestAutofillManagerDelegate::IsAutocompleteEnabled() { | 52 bool TestAutofillManagerDelegate::IsAutocompleteEnabled() { |
| 53 return true; | 53 return true; |
| 54 } | 54 } |
| 55 | 55 |
| 56 void TestAutofillManagerDelegate::DetectAccountCreationForms( | 56 void TestAutofillManagerDelegate::DetectAccountCreationForms( |
| 57 const std::vector<autofill::FormStructure*>& forms) {} | 57 const std::vector<autofill::FormStructure*>& forms) {} |
| 58 | 58 |
| 59 void TestAutofillManagerDelegate::DidFillOrPreviewField( | 59 void TestAutofillManagerDelegate::DidFillOrPreviewField( |
| 60 const base::string16& autofilled_value, | 60 const base::string16& autofilled_value, |
| 61 const base::string16& profile_full_name) {} | 61 const base::string16& profile_full_name) {} |
| 62 | 62 |
| 63 } // namespace autofill | 63 } // namespace autofill |
| OLD | NEW |