| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_client.h" | 5 #include "components/autofill/core/browser/test_autofill_client.h" |
| 6 | 6 |
| 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 8 | 8 |
| 9 namespace autofill { | 9 namespace autofill { |
| 10 | 10 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 void TestAutofillClient::ShowRequestAutocompleteDialog( | 46 void TestAutofillClient::ShowRequestAutocompleteDialog( |
| 47 const FormData& form, | 47 const FormData& form, |
| 48 const GURL& source_url, | 48 const GURL& source_url, |
| 49 const ResultCallback& callback) { | 49 const ResultCallback& callback) { |
| 50 } | 50 } |
| 51 | 51 |
| 52 void TestAutofillClient::ShowAutofillPopup( | 52 void TestAutofillClient::ShowAutofillPopup( |
| 53 const gfx::RectF& element_bounds, | 53 const gfx::RectF& element_bounds, |
| 54 base::i18n::TextDirection text_direction, | 54 base::i18n::TextDirection text_direction, |
| 55 const std::vector<base::string16>& values, | 55 const std::vector<Suggestion>& suggestions, |
| 56 const std::vector<base::string16>& labels, | |
| 57 const std::vector<base::string16>& icons, | |
| 58 const std::vector<int>& identifiers, | |
| 59 base::WeakPtr<AutofillPopupDelegate> delegate) { | 56 base::WeakPtr<AutofillPopupDelegate> delegate) { |
| 60 } | 57 } |
| 61 | 58 |
| 62 void TestAutofillClient::UpdateAutofillPopupDataListValues( | 59 void TestAutofillClient::UpdateAutofillPopupDataListValues( |
| 63 const std::vector<base::string16>& values, | 60 const std::vector<base::string16>& values, |
| 64 const std::vector<base::string16>& labels) { | 61 const std::vector<base::string16>& labels) { |
| 65 } | 62 } |
| 66 | 63 |
| 67 void TestAutofillClient::HideAutofillPopup() { | 64 void TestAutofillClient::HideAutofillPopup() { |
| 68 } | 65 } |
| 69 | 66 |
| 70 bool TestAutofillClient::IsAutocompleteEnabled() { | 67 bool TestAutofillClient::IsAutocompleteEnabled() { |
| 71 return true; | 68 return true; |
| 72 } | 69 } |
| 73 | 70 |
| 74 void TestAutofillClient::DetectAccountCreationForms( | 71 void TestAutofillClient::DetectAccountCreationForms( |
| 75 content::RenderFrameHost* rfh, | 72 content::RenderFrameHost* rfh, |
| 76 const std::vector<autofill::FormStructure*>& forms) { | 73 const std::vector<autofill::FormStructure*>& forms) { |
| 77 } | 74 } |
| 78 | 75 |
| 79 void TestAutofillClient::DidFillOrPreviewField( | 76 void TestAutofillClient::DidFillOrPreviewField( |
| 80 const base::string16& autofilled_value, | 77 const base::string16& autofilled_value, |
| 81 const base::string16& profile_full_name) { | 78 const base::string16& profile_full_name) { |
| 82 } | 79 } |
| 83 | 80 |
| 84 void TestAutofillClient::OnFirstUserGestureObserved() { | 81 void TestAutofillClient::OnFirstUserGestureObserved() { |
| 85 } | 82 } |
| 86 | 83 |
| 87 } // namespace autofill | 84 } // namespace autofill |
| OLD | NEW |