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
3 // found in the LICENSE file.
5 #include "components/autofill/core/browser/test_autofill_manager_delegate.h"
6 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
10 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {}
11 TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {}
13 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() {
17 scoped_refptr<AutofillWebDataService>
18 TestAutofillManagerDelegate::GetDatabase() {
19 return scoped_refptr<AutofillWebDataService>(NULL);
22 PrefService* TestAutofillManagerDelegate::GetPrefs() { return prefs_.get(); }
24 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {}
26 void TestAutofillManagerDelegate::ShowAutofillSettings() {}
28 void TestAutofillManagerDelegate::ConfirmSaveCreditCard(
29 const AutofillMetrics& metric_logger,
30 const base::Closure& save_card_callback) {}
32 void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog(
34 const GURL& source_url,
35 const ResultCallback& callback) {}
37 void TestAutofillManagerDelegate::ShowAutofillPopup(
38 const gfx::RectF& element_bounds,
39 base::i18n::TextDirection text_direction,
40 const std::vector<base::string16>& values,
41 const std::vector<base::string16>& labels,
42 const std::vector<base::string16>& icons,
43 const std::vector<int>& identifiers,
44 base::WeakPtr<AutofillPopupDelegate> delegate) {}
46 void TestAutofillManagerDelegate::UpdateAutofillPopupDataListValues(
47 const std::vector<base::string16>& values,
48 const std::vector<base::string16>& labels) {}
50 void TestAutofillManagerDelegate::HideAutofillPopup() {}
52 bool TestAutofillManagerDelegate::IsAutocompleteEnabled() {
56 void TestAutofillManagerDelegate::DetectAccountCreationForms(
57 const std::vector<autofill::FormStructure*>& forms) {}
59 void TestAutofillManagerDelegate::DidFillOrPreviewField(
60 const base::string16& autofilled_value,
61 const base::string16& profile_full_name) {}
63 } // namespace autofill