| 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 | 6 |
| 7 namespace autofill { | 7 namespace autofill { |
| 8 | 8 |
| 9 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {} | 9 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {} |
| 10 TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {} | 10 TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {} |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 void TestAutofillManagerDelegate::ShowAutofillSettings() {} | 22 void TestAutofillManagerDelegate::ShowAutofillSettings() {} |
| 23 | 23 |
| 24 void TestAutofillManagerDelegate::ConfirmSaveCreditCard( | 24 void TestAutofillManagerDelegate::ConfirmSaveCreditCard( |
| 25 const AutofillMetrics& metric_logger, | 25 const AutofillMetrics& metric_logger, |
| 26 const CreditCard& credit_card, | 26 const CreditCard& credit_card, |
| 27 const base::Closure& save_card_callback) {} | 27 const base::Closure& save_card_callback) {} |
| 28 | 28 |
| 29 void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog( | 29 void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog( |
| 30 const FormData& form, | 30 const FormData& form, |
| 31 const GURL& source_url, | 31 const GURL& source_url, |
| 32 DialogType dialog_type, | |
| 33 const base::Callback<void(const FormStructure*, | 32 const base::Callback<void(const FormStructure*, |
| 34 const std::string&)>& callback) {} | 33 const std::string&)>& callback) {} |
| 35 | 34 |
| 36 void TestAutofillManagerDelegate::ShowAutofillPopup( | 35 void TestAutofillManagerDelegate::ShowAutofillPopup( |
| 37 const gfx::RectF& element_bounds, | 36 const gfx::RectF& element_bounds, |
| 38 base::i18n::TextDirection text_direction, | 37 base::i18n::TextDirection text_direction, |
| 39 const std::vector<base::string16>& values, | 38 const std::vector<base::string16>& values, |
| 40 const std::vector<base::string16>& labels, | 39 const std::vector<base::string16>& labels, |
| 41 const std::vector<base::string16>& icons, | 40 const std::vector<base::string16>& icons, |
| 42 const std::vector<int>& identifiers, | 41 const std::vector<int>& identifiers, |
| 43 base::WeakPtr<AutofillPopupDelegate> delegate) {} | 42 base::WeakPtr<AutofillPopupDelegate> delegate) {} |
| 44 | 43 |
| 45 void TestAutofillManagerDelegate::UpdateAutofillPopupDataListValues( | 44 void TestAutofillManagerDelegate::UpdateAutofillPopupDataListValues( |
| 46 const std::vector<base::string16>& values, | 45 const std::vector<base::string16>& values, |
| 47 const std::vector<base::string16>& labels) {} | 46 const std::vector<base::string16>& labels) {} |
| 48 | 47 |
| 49 void TestAutofillManagerDelegate::HideAutofillPopup() {} | 48 void TestAutofillManagerDelegate::HideAutofillPopup() {} |
| 50 | 49 |
| 51 bool TestAutofillManagerDelegate::IsAutocompleteEnabled() { | 50 bool TestAutofillManagerDelegate::IsAutocompleteEnabled() { |
| 52 return true; | 51 return true; |
| 53 } | 52 } |
| 54 | 53 |
| 55 } // namespace autofill | 54 } // namespace autofill |
| OLD | NEW |