Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: chrome/browser/autofill/test_autofill_manager_delegate.cc

Issue 12340065: Move the UI related code from AutofillExternalDelegate to AutofillManagerDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address most review comments and fix unit_tests Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
11 InfoBarService* TestAutofillManagerDelegate::GetInfoBarService() {
12 return NULL;
13 }
14
15 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() {
16 return NULL;
17 }
18
19 PrefService* TestAutofillManagerDelegate::GetPrefs() {
20 return NULL;
21 }
22
23 ProfileSyncServiceBase* TestAutofillManagerDelegate::GetProfileSyncService() {
24 return NULL;
25 }
26
27 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {}
28
29 bool TestAutofillManagerDelegate::IsSavingPasswordsEnabled() const {
30 return false;
31 }
32
33 void TestAutofillManagerDelegate::OnAutocheckoutError() {}
34
35 void TestAutofillManagerDelegate::ShowAutofillSettings() {}
36
37 void TestAutofillManagerDelegate::ShowPasswordGenerationBubble(
38 const gfx::Rect& bounds,
39 const content::PasswordForm& form,
40 autofill::PasswordGenerator* generator) {}
41
42 void TestAutofillManagerDelegate::ShowAutocheckoutBubble(
43 const gfx::RectF& bounding_box,
44 const gfx::NativeView& native_view,
45 const base::Closure& callback) {}
46
47 void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog(
48 const FormData& form,
49 const GURL& source_url,
50 const content::SSLStatus& ssl_status,
51 const AutofillMetrics& metric_logger,
52 DialogType dialog_type,
53 const base::Callback<void(const FormStructure*)>& callback) {}
54
55 void TestAutofillManagerDelegate::RequestAutocompleteDialogClosed() {}
56
57 void TestAutofillManagerDelegate::ShowAutofillPopup(const gfx::RectF& element_bo unds,
58 const std::vector<string16>& values,
59 const std::vector<string16>& labels,
60 const std::vector<string16>& icons,
61 const std::vector<int>& identifiers,
62 AutofillPopupDelegate* delegate) {}
Ilya Sherman 2013/02/26 09:24:57 nit: Alignment
kaiwang 2013/02/26 22:18:40 Done.
63
64 void TestAutofillManagerDelegate::HideAutofillPopup() {}
65
66 void TestAutofillManagerDelegate::UpdateProgressBar(double value) {}
67
68 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698