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

Side by Side Diff: android_webview/native/aw_autofill_client.cc

Issue 2026353002: [Autofill] Credit Card Assist Infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove std::move Created 4 years, 4 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 "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"
11 #include "base/android/jni_android.h" 11 #include "base/android/jni_android.h"
12 #include "base/android/jni_string.h" 12 #include "base/android/jni_string.h"
13 #include "base/android/scoped_java_ref.h" 13 #include "base/android/scoped_java_ref.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "components/autofill/core/browser/autofill_credit_card_filling_infobar_ delegate_mobile.h"
15 #include "components/autofill/core/browser/autofill_popup_delegate.h" 16 #include "components/autofill/core/browser/autofill_popup_delegate.h"
16 #include "components/autofill/core/browser/suggestion.h" 17 #include "components/autofill/core/browser/suggestion.h"
17 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 18 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
18 #include "components/autofill/core/common/autofill_pref_names.h" 19 #include "components/autofill/core/common/autofill_pref_names.h"
20 #include "components/infobars/core/infobar.h"
19 #include "components/prefs/pref_registry_simple.h" 21 #include "components/prefs/pref_registry_simple.h"
20 #include "components/prefs/pref_service.h" 22 #include "components/prefs/pref_service.h"
21 #include "components/prefs/pref_service_factory.h" 23 #include "components/prefs/pref_service_factory.h"
22 #include "components/user_prefs/user_prefs.h" 24 #include "components/user_prefs/user_prefs.h"
23 #include "content/public/browser/navigation_entry.h" 25 #include "content/public/browser/navigation_entry.h"
24 #include "content/public/browser/web_contents.h" 26 #include "content/public/browser/web_contents.h"
25 #include "content/public/common/ssl_status.h" 27 #include "content/public/common/ssl_status.h"
26 #include "jni/AwAutofillClient_jni.h" 28 #include "jni/AwAutofillClient_jni.h"
27 #include "ui/gfx/geometry/rect_f.h" 29 #include "ui/gfx/geometry/rect_f.h"
28 30
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 NOTIMPLEMENTED(); 236 NOTIMPLEMENTED();
235 } 237 }
236 238
237 void AwAutofillClient::ConfirmSaveCreditCardToCloud( 239 void AwAutofillClient::ConfirmSaveCreditCardToCloud(
238 const autofill::CreditCard& card, 240 const autofill::CreditCard& card,
239 std::unique_ptr<base::DictionaryValue> legal_message, 241 std::unique_ptr<base::DictionaryValue> legal_message,
240 const base::Closure& callback) { 242 const base::Closure& callback) {
241 NOTIMPLEMENTED(); 243 NOTIMPLEMENTED();
242 } 244 }
243 245
246 void AwAutofillClient::ConfirmCreditCardFillAssist(
247 const autofill::CreditCard& card,
248 const base::Closure& callback) {
249 NOTIMPLEMENTED();
250 }
251
252 std::unique_ptr<infobars::InfoBar>
253 AwAutofillClient::CreateCreditCardFillingInfoBar(
254 std::unique_ptr<autofill::AutofillCreditCardFillingInfoBarDelegateMobile>
255 delegate) {
256 NOTIMPLEMENTED();
257 return std::unique_ptr<infobars::InfoBar>();
258 }
259
244 void AwAutofillClient::LoadRiskData( 260 void AwAutofillClient::LoadRiskData(
245 const base::Callback<void(const std::string&)>& callback) { 261 const base::Callback<void(const std::string&)>& callback) {
246 NOTIMPLEMENTED(); 262 NOTIMPLEMENTED();
247 } 263 }
248 264
249 bool AwAutofillClient::HasCreditCardScanFeature() { 265 bool AwAutofillClient::HasCreditCardScanFeature() {
250 return false; 266 return false;
251 } 267 }
252 268
253 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { 269 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) {
254 NOTIMPLEMENTED(); 270 NOTIMPLEMENTED();
255 } 271 }
256 272
257 bool RegisterAwAutofillClient(JNIEnv* env) { 273 bool RegisterAwAutofillClient(JNIEnv* env) {
258 return RegisterNativesImpl(env); 274 return RegisterNativesImpl(env);
259 } 275 }
260 276
261 } // namespace android_webview 277 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698