| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 virtual void ShowUnmaskPrompt( | 65 virtual 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 virtual void OnUnmaskVerificationResult(bool success) override; | 68 virtual void OnUnmaskVerificationResult(bool success) override; |
| 69 virtual void ConfirmSaveCreditCard( | 69 virtual void ConfirmSaveCreditCard( |
| 70 const base::Closure& save_card_callback) override; | 70 const base::Closure& save_card_callback) override; |
| 71 virtual bool HasCreditCardScanFeature() override; | 71 virtual bool HasCreditCardScanFeature() override; |
| 72 virtual void ScanCreditCard(const CreditCardScanCallback& callback) override; | 72 virtual void ScanCreditCard(const CreditCardScanCallback& callback) override; |
| 73 virtual void ShowRequestAutocompleteDialog( | 73 virtual void ShowRequestAutocompleteDialog( |
| 74 const autofill::FormData& form, | 74 const autofill::FormData& form, |
| 75 const GURL& source_url, | 75 content::RenderFrameHost* rfh, |
| 76 const ResultCallback& callback) override; | 76 const ResultCallback& callback) override; |
| 77 virtual void ShowAutofillPopup( | 77 virtual void ShowAutofillPopup( |
| 78 const gfx::RectF& element_bounds, | 78 const gfx::RectF& element_bounds, |
| 79 base::i18n::TextDirection text_direction, | 79 base::i18n::TextDirection text_direction, |
| 80 const std::vector<autofill::Suggestion>& suggestions, | 80 const std::vector<autofill::Suggestion>& suggestions, |
| 81 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) override; | 81 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) override; |
| 82 virtual void UpdateAutofillPopupDataListValues( | 82 virtual void UpdateAutofillPopupDataListValues( |
| 83 const std::vector<base::string16>& values, | 83 const std::vector<base::string16>& values, |
| 84 const std::vector<base::string16>& labels) override; | 84 const std::vector<base::string16>& labels) override; |
| 85 virtual void HideAutofillPopup() override; | 85 virtual void HideAutofillPopup() override; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 113 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; | 113 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; |
| 114 | 114 |
| 115 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); | 115 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 bool RegisterAwAutofillClient(JNIEnv* env); | 118 bool RegisterAwAutofillClient(JNIEnv* env); |
| 119 | 119 |
| 120 } // namespace android_webview | 120 } // namespace android_webview |
| 121 | 121 |
| 122 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ | 122 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ |
| OLD | NEW |