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

Side by Side Diff: components/autofill/core/browser/test_autofill_client.cc

Issue 1931043002: Remove requestAutocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
OLDNEW
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 24 matching lines...) Expand all
35 } 35 }
36 36
37 IdentityProvider* TestAutofillClient::GetIdentityProvider() { 37 IdentityProvider* TestAutofillClient::GetIdentityProvider() {
38 return identity_provider_.get(); 38 return identity_provider_.get();
39 } 39 }
40 40
41 rappor::RapporService* TestAutofillClient::GetRapporService() { 41 rappor::RapporService* TestAutofillClient::GetRapporService() {
42 return rappor_service_.get(); 42 return rappor_service_.get();
43 } 43 }
44 44
45 void TestAutofillClient::HideRequestAutocompleteDialog() {
46 }
47
48 void TestAutofillClient::ShowAutofillSettings() { 45 void TestAutofillClient::ShowAutofillSettings() {
49 } 46 }
50 47
51 void TestAutofillClient::ShowUnmaskPrompt( 48 void TestAutofillClient::ShowUnmaskPrompt(
52 const CreditCard& card, 49 const CreditCard& card,
53 UnmaskCardReason reason, 50 UnmaskCardReason reason,
54 base::WeakPtr<CardUnmaskDelegate> delegate) { 51 base::WeakPtr<CardUnmaskDelegate> delegate) {
55 } 52 }
56 53
57 void TestAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) { 54 void TestAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) {
(...skipping 17 matching lines...) Expand all
75 } 72 }
76 73
77 bool TestAutofillClient::HasCreditCardScanFeature() { 74 bool TestAutofillClient::HasCreditCardScanFeature() {
78 return false; 75 return false;
79 } 76 }
80 77
81 void TestAutofillClient::ScanCreditCard( 78 void TestAutofillClient::ScanCreditCard(
82 const CreditCardScanCallback& callback) { 79 const CreditCardScanCallback& callback) {
83 } 80 }
84 81
85 void TestAutofillClient::ShowRequestAutocompleteDialog(
86 const FormData& form,
87 content::RenderFrameHost* rfh,
88 const ResultCallback& callback) {
89 }
90
91 void TestAutofillClient::ShowAutofillPopup( 82 void TestAutofillClient::ShowAutofillPopup(
92 const gfx::RectF& element_bounds, 83 const gfx::RectF& element_bounds,
93 base::i18n::TextDirection text_direction, 84 base::i18n::TextDirection text_direction,
94 const std::vector<Suggestion>& suggestions, 85 const std::vector<Suggestion>& suggestions,
95 base::WeakPtr<AutofillPopupDelegate> delegate) { 86 base::WeakPtr<AutofillPopupDelegate> delegate) {
96 } 87 }
97 88
98 void TestAutofillClient::UpdateAutofillPopupDataListValues( 89 void TestAutofillClient::UpdateAutofillPopupDataListValues(
99 const std::vector<base::string16>& values, 90 const std::vector<base::string16>& values,
100 const std::vector<base::string16>& labels) { 91 const std::vector<base::string16>& labels) {
(...skipping 17 matching lines...) Expand all
118 } 109 }
119 110
120 void TestAutofillClient::OnFirstUserGestureObserved() { 111 void TestAutofillClient::OnFirstUserGestureObserved() {
121 } 112 }
122 113
123 bool TestAutofillClient::IsContextSecure(const GURL& form_origin) { 114 bool TestAutofillClient::IsContextSecure(const GURL& form_origin) {
124 return is_context_secure_; 115 return is_context_secure_;
125 } 116 }
126 117
127 } // namespace autofill 118 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/test_autofill_client.h ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698