| Index: chrome/browser/ui/android/autofill/autofill_popup_view_android.h
|
| diff --git a/chrome/browser/ui/android/autofill/autofill_popup_view_android.h b/chrome/browser/ui/android/autofill/autofill_popup_view_android.h
|
| index 8d4211bea31baa21734e3f82185d96016e32d652..10f6acd81305e4ee1e95fedf8531ec2ed8af197e 100644
|
| --- a/chrome/browser/ui/android/autofill/autofill_popup_view_android.h
|
| +++ b/chrome/browser/ui/android/autofill/autofill_popup_view_android.h
|
| @@ -29,6 +29,10 @@ class AutofillPopupViewAndroid : public AutofillPopupView {
|
| // Called when an autofill item was selected.
|
| void SuggestionSelected(JNIEnv* env, jobject obj, jint list_index);
|
|
|
| + void DeletionRequested(JNIEnv* env, jobject obj, jint list_index);
|
| +
|
| + void DeletionConfirmed(JNIEnv* env, jobject obj);
|
| +
|
| void PopupDismissed(JNIEnv* env, jobject obj);
|
|
|
| static bool RegisterAutofillPopupViewAndroid(JNIEnv* env);
|
| @@ -45,6 +49,10 @@ class AutofillPopupViewAndroid : public AutofillPopupView {
|
|
|
| AutofillPopupController* controller_; // weak.
|
|
|
| + // The index of the last item the user long-pressed (they will be shown a
|
| + // confirmation dialog).
|
| + int deleting_index_;
|
| +
|
| // The corresponding java object.
|
| base::android::ScopedJavaGlobalRef<jobject> java_object_;
|
|
|
|
|