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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java

Issue 1134793004: Autofill item deletion on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fix Created 5 years, 7 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
« no previous file with comments | « no previous file | build/ios/grit_whitelist.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java b/android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java
index 1657a96817be4edf9f10419b8387084bf22e1a8b..a2b4211012c913c9956bf33a33e6955bb157c2df 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java
@@ -56,6 +56,8 @@ public class AwAutofillClient {
public void suggestionSelected(int listIndex) {
nativeSuggestionSelected(mNativeAwAutofillClient, listIndex);
}
+ @Override
+ public void deleteSuggestion(int listIndex) { }
});
}
mAutofillPopup.setAnchorRect(x, y, width, height);
@@ -84,7 +86,7 @@ public class AwAutofillClient {
@CalledByNative
private static void addToAutofillSuggestionArray(AutofillSuggestion[] array, int index,
String name, String label, int uniqueId) {
- array[index] = new AutofillSuggestion(name, label, DropdownItem.NO_ICON, uniqueId);
+ array[index] = new AutofillSuggestion(name, label, DropdownItem.NO_ICON, uniqueId, false);
}
private native void nativeSuggestionSelected(long nativeAwAutofillClient,
« no previous file with comments | « no previous file | build/ios/grit_whitelist.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698