Index: ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java |
diff --git a/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java b/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java |
index 0019b4cd1d90c5474d0c712a7baff19406272afd..e3f9c9d7cdbdcb453b7e53d70e6caa9514b35735 100644 |
--- a/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java |
+++ b/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java |
@@ -34,32 +34,9 @@ public class AutofillPopup extends DropdownPopupWindow implements AdapterView.On |
private static final int ITEM_ID_SEPARATOR_ENTRY = -3; |
private final Context mContext; |
- private final AutofillPopupDelegate mAutofillCallback; |
+ private final AutofillDelegate mAutofillCallback; |
private List<AutofillSuggestion> mSuggestions; |
- |
- /** |
- * An interface to handle the touch interaction with an AutofillPopup object. |
- */ |
- public interface AutofillPopupDelegate { |
- /** |
- * Informs the controller the AutofillPopup was hidden. |
- */ |
- public void dismissed(); |
- |
- /** |
- * Handles the selection of an Autofill suggestion from an AutofillPopup. |
- * @param listIndex The index of the selected Autofill suggestion. |
- */ |
- public void suggestionSelected(int listIndex); |
- |
- /** |
- * Initiates the deletion process for an item. (A confirm dialog should be shown.) |
- * @param listIndex The index of the suggestion to delete. |
- */ |
- public void deleteSuggestion(int listIndex); |
- } |
- |
/** |
* Creates an AutofillWindow with specified parameters. |
* @param context Application context. |
@@ -67,7 +44,7 @@ public class AutofillPopup extends DropdownPopupWindow implements AdapterView.On |
* @param autofillCallback A object that handles the calls to the native AutofillPopupView. |
*/ |
public AutofillPopup(Context context, ViewAndroidDelegate viewAndroidDelegate, |
- AutofillPopupDelegate autofillCallback) { |
+ AutofillDelegate autofillCallback) { |
super(context, viewAndroidDelegate); |
mContext = context; |
mAutofillCallback = autofillCallback; |