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