| 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 #ifndef ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ |
| 6 #define ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 const autofill::CreditCard& card, | 71 const autofill::CreditCard& card, |
| 72 UnmaskCardReason reason, | 72 UnmaskCardReason reason, |
| 73 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override; | 73 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override; |
| 74 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 74 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
| 75 void ConfirmSaveCreditCardLocally(const autofill::CreditCard& card, | 75 void ConfirmSaveCreditCardLocally(const autofill::CreditCard& card, |
| 76 const base::Closure& callback) override; | 76 const base::Closure& callback) override; |
| 77 void ConfirmSaveCreditCardToCloud( | 77 void ConfirmSaveCreditCardToCloud( |
| 78 const autofill::CreditCard& card, | 78 const autofill::CreditCard& card, |
| 79 std::unique_ptr<base::DictionaryValue> legal_message, | 79 std::unique_ptr<base::DictionaryValue> legal_message, |
| 80 const base::Closure& callback) override; | 80 const base::Closure& callback) override; |
| 81 void ConfirmCreditCardFillAssist(const autofill::CreditCard& card, |
| 82 const base::Closure& callback) override; |
| 83 std::unique_ptr<infobars::InfoBar> CreateCreditCardFillingInfoBar( |
| 84 std::unique_ptr<autofill::AutofillCreditCardFillingInfoBarDelegateMobile> |
| 85 delegate) override; |
| 81 void LoadRiskData( | 86 void LoadRiskData( |
| 82 const base::Callback<void(const std::string&)>& callback) override; | 87 const base::Callback<void(const std::string&)>& callback) override; |
| 83 bool HasCreditCardScanFeature() override; | 88 bool HasCreditCardScanFeature() override; |
| 84 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 89 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
| 85 void ShowAutofillPopup( | 90 void ShowAutofillPopup( |
| 86 const gfx::RectF& element_bounds, | 91 const gfx::RectF& element_bounds, |
| 87 base::i18n::TextDirection text_direction, | 92 base::i18n::TextDirection text_direction, |
| 88 const std::vector<autofill::Suggestion>& suggestions, | 93 const std::vector<autofill::Suggestion>& suggestions, |
| 89 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) override; | 94 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) override; |
| 90 void UpdateAutofillPopupDataListValues( | 95 void UpdateAutofillPopupDataListValues( |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; | 130 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; |
| 126 | 131 |
| 127 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); | 132 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); |
| 128 }; | 133 }; |
| 129 | 134 |
| 130 bool RegisterAwAutofillClient(JNIEnv* env); | 135 bool RegisterAwAutofillClient(JNIEnv* env); |
| 131 | 136 |
| 132 } // namespace android_webview | 137 } // namespace android_webview |
| 133 | 138 |
| 134 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ | 139 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ |
| OLD | NEW |