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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 48 |
49 void TestAutofillClient::ShowRequestAutocompleteDialog( | 49 void TestAutofillClient::ShowRequestAutocompleteDialog( |
50 const FormData& form, | 50 const FormData& form, |
51 const GURL& source_url, | 51 const GURL& source_url, |
52 const ResultCallback& callback) { | 52 const ResultCallback& callback) { |
53 } | 53 } |
54 | 54 |
55 void TestAutofillClient::ShowAutofillPopup( | 55 void TestAutofillClient::ShowAutofillPopup( |
56 const gfx::RectF& element_bounds, | 56 const gfx::RectF& element_bounds, |
57 base::i18n::TextDirection text_direction, | 57 base::i18n::TextDirection text_direction, |
58 const std::vector<base::string16>& values, | 58 const std::vector<Suggestion>& suggestions, |
59 const std::vector<base::string16>& labels, | |
60 const std::vector<base::string16>& icons, | |
61 const std::vector<int>& identifiers, | |
62 base::WeakPtr<AutofillPopupDelegate> delegate) { | 59 base::WeakPtr<AutofillPopupDelegate> delegate) { |
63 } | 60 } |
64 | 61 |
65 void TestAutofillClient::UpdateAutofillPopupDataListValues( | 62 void TestAutofillClient::UpdateAutofillPopupDataListValues( |
66 const std::vector<base::string16>& values, | 63 const std::vector<base::string16>& values, |
67 const std::vector<base::string16>& labels) { | 64 const std::vector<base::string16>& labels) { |
68 } | 65 } |
69 | 66 |
70 void TestAutofillClient::HideAutofillPopup() { | 67 void TestAutofillClient::HideAutofillPopup() { |
71 } | 68 } |
72 | 69 |
73 bool TestAutofillClient::IsAutocompleteEnabled() { | 70 bool TestAutofillClient::IsAutocompleteEnabled() { |
74 return true; | 71 return true; |
75 } | 72 } |
76 | 73 |
77 void TestAutofillClient::DetectAccountCreationForms( | 74 void TestAutofillClient::DetectAccountCreationForms( |
78 content::RenderFrameHost* rfh, | 75 content::RenderFrameHost* rfh, |
79 const std::vector<autofill::FormStructure*>& forms) { | 76 const std::vector<autofill::FormStructure*>& forms) { |
80 } | 77 } |
81 | 78 |
82 void TestAutofillClient::DidFillOrPreviewField( | 79 void TestAutofillClient::DidFillOrPreviewField( |
83 const base::string16& autofilled_value, | 80 const base::string16& autofilled_value, |
84 const base::string16& profile_full_name) { | 81 const base::string16& profile_full_name) { |
85 } | 82 } |
86 | 83 |
87 void TestAutofillClient::OnFirstUserGestureObserved() { | 84 void TestAutofillClient::OnFirstUserGestureObserved() { |
88 } | 85 } |
89 | 86 |
90 } // namespace autofill | 87 } // namespace autofill |
OLD | NEW |