- add sources.
[platform/framework/web/crosswalk.git] / src / components / autofill / core / browser / test_autofill_manager_delegate.cc
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.
4
5 #include "components/autofill/core/browser/test_autofill_manager_delegate.h"
6
7 namespace autofill {
8
9 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {}
10 TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {}
11
12 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() {
13   return NULL;
14 }
15
16 PrefService* TestAutofillManagerDelegate::GetPrefs() {
17   return NULL;
18 }
19
20 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {}
21
22 void TestAutofillManagerDelegate::ShowAutofillSettings() {}
23
24 void TestAutofillManagerDelegate::ConfirmSaveCreditCard(
25     const AutofillMetrics& metric_logger,
26     const CreditCard& credit_card,
27     const base::Closure& save_card_callback) {}
28
29 void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog(
30     const FormData& form,
31     const GURL& source_url,
32     const base::Callback<void(const FormStructure*)>& callback) {}
33
34 void TestAutofillManagerDelegate::ShowAutofillPopup(
35     const gfx::RectF& element_bounds,
36     base::i18n::TextDirection text_direction,
37     const std::vector<base::string16>& values,
38     const std::vector<base::string16>& labels,
39     const std::vector<base::string16>& icons,
40     const std::vector<int>& identifiers,
41     base::WeakPtr<AutofillPopupDelegate> delegate) {}
42
43 void TestAutofillManagerDelegate::UpdateAutofillPopupDataListValues(
44     const std::vector<base::string16>& values,
45     const std::vector<base::string16>& labels) {}
46
47 void TestAutofillManagerDelegate::HideAutofillPopup() {}
48
49 bool TestAutofillManagerDelegate::IsAutocompleteEnabled() {
50   return true;
51 }
52
53 void TestAutofillManagerDelegate::DetectAccountCreationForms(
54     const std::vector<autofill::FormStructure*>& forms) {}
55
56 }  // namespace autofill