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

Side by Side Diff: android_webview/native/aw_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
« no previous file with comments | « android_webview/native/aw_autofill_client.h ('k') | build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
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
OLDNEW
« no previous file with comments | « android_webview/native/aw_autofill_client.h ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698