OLD | NEW |
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 "android_webview/native/aw_autofill_client.h" | 5 #include "android_webview/native/aw_autofill_client.h" |
6 | 6 |
7 #include "android_webview/browser/aw_browser_context.h" | 7 #include "android_webview/browser/aw_browser_context.h" |
8 #include "android_webview/browser/aw_content_browser_client.h" | 8 #include "android_webview/browser/aw_content_browser_client.h" |
9 #include "android_webview/browser/aw_form_database_service.h" | 9 #include "android_webview/browser/aw_form_database_service.h" |
10 #include "android_webview/native/aw_contents.h" | 10 #include "android_webview/native/aw_contents.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 void AwAutofillClient::SuggestionSelected(JNIEnv* env, | 200 void AwAutofillClient::SuggestionSelected(JNIEnv* env, |
201 const JavaParamRef<jobject>& object, | 201 const JavaParamRef<jobject>& object, |
202 jint position) { | 202 jint position) { |
203 if (delegate_) { | 203 if (delegate_) { |
204 delegate_->DidAcceptSuggestion(suggestions_[position].value, | 204 delegate_->DidAcceptSuggestion(suggestions_[position].value, |
205 suggestions_[position].frontend_id, | 205 suggestions_[position].frontend_id, |
206 position); | 206 position); |
207 } | 207 } |
208 } | 208 } |
209 | 209 |
210 void AwAutofillClient::HideRequestAutocompleteDialog() { | |
211 NOTIMPLEMENTED(); | |
212 } | |
213 | |
214 void AwAutofillClient::ShowAutofillSettings() { | 210 void AwAutofillClient::ShowAutofillSettings() { |
215 NOTIMPLEMENTED(); | 211 NOTIMPLEMENTED(); |
216 } | 212 } |
217 | 213 |
218 void AwAutofillClient::ShowUnmaskPrompt( | 214 void AwAutofillClient::ShowUnmaskPrompt( |
219 const autofill::CreditCard& card, | 215 const autofill::CreditCard& card, |
220 UnmaskCardReason reason, | 216 UnmaskCardReason reason, |
221 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) { | 217 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) { |
222 NOTIMPLEMENTED(); | 218 NOTIMPLEMENTED(); |
223 } | 219 } |
(...skipping 21 matching lines...) Expand all Loading... |
245 } | 241 } |
246 | 242 |
247 bool AwAutofillClient::HasCreditCardScanFeature() { | 243 bool AwAutofillClient::HasCreditCardScanFeature() { |
248 return false; | 244 return false; |
249 } | 245 } |
250 | 246 |
251 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { | 247 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { |
252 NOTIMPLEMENTED(); | 248 NOTIMPLEMENTED(); |
253 } | 249 } |
254 | 250 |
255 void AwAutofillClient::ShowRequestAutocompleteDialog( | |
256 const autofill::FormData& form, | |
257 content::RenderFrameHost* rfh, | |
258 const ResultCallback& callback) { | |
259 NOTIMPLEMENTED(); | |
260 } | |
261 | |
262 bool RegisterAwAutofillClient(JNIEnv* env) { | 251 bool RegisterAwAutofillClient(JNIEnv* env) { |
263 return RegisterNativesImpl(env); | 252 return RegisterNativesImpl(env); |
264 } | 253 } |
265 | 254 |
266 } // namespace android_webview | 255 } // namespace android_webview |
OLD | NEW |