| 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 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 ConfirmSaveCreditCard( | 64 virtual void ConfirmSaveCreditCard( |
| 65 const autofill::AutofillMetrics& metric_logger, | 65 const autofill::AutofillMetrics& metric_logger, |
| 66 const autofill::CreditCard& credit_card, | 66 const autofill::CreditCard& credit_card, |
| 67 const base::Closure& save_card_callback) OVERRIDE; | 67 const base::Closure& save_card_callback) OVERRIDE; |
| 68 virtual void ShowRequestAutocompleteDialog( | 68 virtual void ShowRequestAutocompleteDialog( |
| 69 const autofill::FormData& form, | 69 const autofill::FormData& form, |
| 70 const GURL& source_url, | 70 const GURL& source_url, |
| 71 autofill::DialogType dialog_type, | |
| 72 const base::Callback<void(const autofill::FormStructure*, | 71 const base::Callback<void(const autofill::FormStructure*, |
| 73 const std::string&)>& callback) OVERRIDE; | 72 const std::string&)>& callback) OVERRIDE; |
| 74 virtual void ShowAutofillPopup( | 73 virtual void ShowAutofillPopup( |
| 75 const gfx::RectF& element_bounds, | 74 const gfx::RectF& element_bounds, |
| 76 base::i18n::TextDirection text_direction, | 75 base::i18n::TextDirection text_direction, |
| 77 const std::vector<string16>& values, | 76 const std::vector<string16>& values, |
| 78 const std::vector<string16>& labels, | 77 const std::vector<string16>& labels, |
| 79 const std::vector<string16>& icons, | 78 const std::vector<string16>& icons, |
| 80 const std::vector<int>& identifiers, | 79 const std::vector<int>& identifiers, |
| 81 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) OVERRIDE; | 80 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) OVERRIDE; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 108 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; | 107 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; |
| 109 | 108 |
| 110 DISALLOW_COPY_AND_ASSIGN(AwAutofillManagerDelegate); | 109 DISALLOW_COPY_AND_ASSIGN(AwAutofillManagerDelegate); |
| 111 }; | 110 }; |
| 112 | 111 |
| 113 bool RegisterAwAutofillManagerDelegate(JNIEnv* env); | 112 bool RegisterAwAutofillManagerDelegate(JNIEnv* env); |
| 114 | 113 |
| 115 } // namespace android_webview | 114 } // namespace android_webview |
| 116 | 115 |
| 117 #endif // ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ | 116 #endif // ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ |
| OLD | NEW |