OLD | NEW |
| (Empty) |
1 // Copyright (c) 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 "chrome/browser/autofill/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 bool TestAutofillManagerDelegate::IsSavingPasswordsEnabled() const { | |
23 return false; | |
24 } | |
25 | |
26 bool TestAutofillManagerDelegate::IsPasswordSyncEnabled() const { | |
27 return false; | |
28 } | |
29 | |
30 void TestAutofillManagerDelegate::SetSyncStateChangedCallback( | |
31 const base::Closure& callback) { } | |
32 | |
33 void TestAutofillManagerDelegate::OnAutocheckoutError() {} | |
34 | |
35 void TestAutofillManagerDelegate::ShowAutofillSettings() {} | |
36 | |
37 void TestAutofillManagerDelegate::ConfirmSaveCreditCard( | |
38 const AutofillMetrics& metric_logger, | |
39 const CreditCard& credit_card, | |
40 const base::Closure& save_card_callback) {} | |
41 | |
42 void TestAutofillManagerDelegate::ShowPasswordGenerationBubble( | |
43 const gfx::Rect& bounds, | |
44 const content::PasswordForm& form, | |
45 autofill::PasswordGenerator* generator) {} | |
46 | |
47 void TestAutofillManagerDelegate::ShowAutocheckoutBubble( | |
48 const gfx::RectF& bounding_box, | |
49 const gfx::NativeView& native_view, | |
50 const base::Closure& callback) {} | |
51 | |
52 void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog( | |
53 const FormData& form, | |
54 const GURL& source_url, | |
55 const content::SSLStatus& ssl_status, | |
56 const AutofillMetrics& metric_logger, | |
57 DialogType dialog_type, | |
58 const base::Callback<void(const FormStructure*)>& callback) {} | |
59 | |
60 void TestAutofillManagerDelegate::RequestAutocompleteDialogClosed() {} | |
61 | |
62 void TestAutofillManagerDelegate::ShowAutofillPopup( | |
63 const gfx::RectF& element_bounds, | |
64 const std::vector<string16>& values, | |
65 const std::vector<string16>& labels, | |
66 const std::vector<string16>& icons, | |
67 const std::vector<int>& identifiers, | |
68 AutofillPopupDelegate* delegate) {} | |
69 | |
70 void TestAutofillManagerDelegate::HideAutofillPopup() {} | |
71 | |
72 void TestAutofillManagerDelegate::UpdateProgressBar(double value) {} | |
73 | |
74 } // namespace autofill | |
OLD | NEW |