Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java

Issue 442933002: android: Don't dismiss AutofillPopup on outside touch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java
index 5865ff1c5cb7e320d906cea81a367a9056636621..7c2f4271ac9e5976da9c85468b298f3a01f69a4d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java
@@ -35,7 +35,7 @@ public class AutofillPopupBridge implements AutofillPopupDelegate{
new Handler().post(new Runnable() {
@Override
public void run() {
- requestHide();
+ dismissed();
}
});
} else {
@@ -51,8 +51,8 @@ public class AutofillPopupBridge implements AutofillPopupDelegate{
}
@Override
- public void requestHide() {
- nativeRequestHide(mNativeAutofillPopup);
+ public void dismissed() {
+ nativePopupDismissed(mNativeAutofillPopup);
}
@Override
@@ -109,7 +109,7 @@ public class AutofillPopupBridge implements AutofillPopupDelegate{
array[index] = new AutofillSuggestion(label, sublabel, uniqueId);
}
- private native void nativeRequestHide(long nativeAutofillPopupViewAndroid);
+ private native void nativePopupDismissed(long nativeAutofillPopupViewAndroid);
private native void nativeSuggestionSelected(long nativeAutofillPopupViewAndroid,
int listIndex);
}

Powered by Google App Engine
This is Rietveld 408576698