| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 GetDatabase() OVERRIDE; | 62 GetDatabase() OVERRIDE; |
| 63 virtual PrefService* GetPrefs() OVERRIDE; | 63 virtual PrefService* GetPrefs() OVERRIDE; |
| 64 virtual void HideRequestAutocompleteDialog() OVERRIDE; | 64 virtual void HideRequestAutocompleteDialog() OVERRIDE; |
| 65 virtual void ShowAutofillSettings() OVERRIDE; | 65 virtual void ShowAutofillSettings() OVERRIDE; |
| 66 virtual void ConfirmSaveCreditCard( | 66 virtual void ConfirmSaveCreditCard( |
| 67 const autofill::AutofillMetrics& metric_logger, | 67 const autofill::AutofillMetrics& metric_logger, |
| 68 const base::Closure& save_card_callback) OVERRIDE; | 68 const base::Closure& save_card_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 const GURL& source_url, |
| 72 const base::Callback<void(const autofill::FormStructure*)>& callback) | 72 const ResultCallback& callback) |
| 73 OVERRIDE; | 73 OVERRIDE; |
| 74 virtual void ShowAutofillPopup( | 74 virtual void ShowAutofillPopup( |
| 75 const gfx::RectF& element_bounds, | 75 const gfx::RectF& element_bounds, |
| 76 base::i18n::TextDirection text_direction, | 76 base::i18n::TextDirection text_direction, |
| 77 const std::vector<base::string16>& values, | 77 const std::vector<base::string16>& values, |
| 78 const std::vector<base::string16>& labels, | 78 const std::vector<base::string16>& labels, |
| 79 const std::vector<base::string16>& icons, | 79 const std::vector<base::string16>& icons, |
| 80 const std::vector<int>& identifiers, | 80 const std::vector<int>& identifiers, |
| 81 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) OVERRIDE; | 81 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) OVERRIDE; |
| 82 virtual void UpdateAutofillPopupDataListValues( | 82 virtual void UpdateAutofillPopupDataListValues( |
| (...skipping 30 matching lines...) Expand all Loading... |
| 113 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; | 113 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; |
| 114 | 114 |
| 115 DISALLOW_COPY_AND_ASSIGN(AwAutofillManagerDelegate); | 115 DISALLOW_COPY_AND_ASSIGN(AwAutofillManagerDelegate); |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 bool RegisterAwAutofillManagerDelegate(JNIEnv* env); | 118 bool RegisterAwAutofillManagerDelegate(JNIEnv* env); |
| 119 | 119 |
| 120 } // namespace android_webview | 120 } // namespace android_webview |
| 121 | 121 |
| 122 #endif // ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ | 122 #endif // ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ |
| OLD | NEW |