Index: chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h |
diff --git a/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h b/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h |
index a146b38e16eb85757b139bfa111ef67704d8d713..10af07aa2c53d821facd77e257df78214663b36c 100644 |
--- a/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h |
+++ b/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h |
@@ -33,6 +33,10 @@ class AutofillKeyboardAccessoryView : 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 ViewDismissed(JNIEnv* env, jobject obj); |
static bool RegisterAutofillKeyboardAccessoryView(JNIEnv* env); |
@@ -49,6 +53,10 @@ class AutofillKeyboardAccessoryView : 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_; |