| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // AutofillClient: | 58 // AutofillClient: |
| 59 autofill::PersonalDataManager* GetPersonalDataManager() override; | 59 autofill::PersonalDataManager* GetPersonalDataManager() override; |
| 60 scoped_refptr<autofill::AutofillWebDataService> GetDatabase() override; | 60 scoped_refptr<autofill::AutofillWebDataService> GetDatabase() override; |
| 61 PrefService* GetPrefs() override; | 61 PrefService* GetPrefs() override; |
| 62 IdentityProvider* GetIdentityProvider() override; | 62 IdentityProvider* GetIdentityProvider() override; |
| 63 void HideRequestAutocompleteDialog() override; | 63 void HideRequestAutocompleteDialog() override; |
| 64 void ShowAutofillSettings() override; | 64 void ShowAutofillSettings() override; |
| 65 void ShowUnmaskPrompt( | 65 void ShowUnmaskPrompt( |
| 66 const autofill::CreditCard& card, | 66 const autofill::CreditCard& card, |
| 67 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override; | 67 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override; |
| 68 void OnUnmaskVerificationResult(bool success) override; | 68 void OnUnmaskVerificationResult(GetRealPanResult result) override; |
| 69 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; | 69 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; |
| 70 bool HasCreditCardScanFeature() override; | 70 bool HasCreditCardScanFeature() override; |
| 71 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 71 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
| 72 void ShowRequestAutocompleteDialog(const autofill::FormData& form, | 72 void ShowRequestAutocompleteDialog(const autofill::FormData& form, |
| 73 content::RenderFrameHost* rfh, | 73 content::RenderFrameHost* rfh, |
| 74 const ResultCallback& callback) override; | 74 const ResultCallback& callback) override; |
| 75 void ShowAutofillPopup( | 75 void ShowAutofillPopup( |
| 76 const gfx::RectF& element_bounds, | 76 const gfx::RectF& element_bounds, |
| 77 base::i18n::TextDirection text_direction, | 77 base::i18n::TextDirection text_direction, |
| 78 const std::vector<autofill::Suggestion>& suggestions, | 78 const std::vector<autofill::Suggestion>& suggestions, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; | 111 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; |
| 112 | 112 |
| 113 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); | 113 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 bool RegisterAwAutofillClient(JNIEnv* env); | 116 bool RegisterAwAutofillClient(JNIEnv* env); |
| 117 | 117 |
| 118 } // namespace android_webview | 118 } // namespace android_webview |
| 119 | 119 |
| 120 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ | 120 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ |
| OLD | NEW |