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

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

Issue 2531223003: Expanded Autofill Credit Card Popup Layout Experiment in Android. (Closed)
Patch Set: Fix merge Created 4 years 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: 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 65781e42e02e64cfd4f8451c9fcd6e01dd023857..e99f057aae15b5455307bc87250ebf5ec66bbdb5 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java
@@ -64,7 +64,8 @@ public class AwAutofillClient {
public void deleteSuggestion(int listIndex) { }
});
}
- mAutofillPopup.filterAndShow(suggestions, isRtl);
+ mAutofillPopup.filterAndShow(suggestions, isRtl, 0 /* backgroundColor */,
+ 0 /* dividerColor */, -1 /* dropdownItemHeight */, false /* isIconAtLeft */);
}
@CalledByNative
@@ -89,8 +90,9 @@ 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, false, false);
+ array[index] = new AutofillSuggestion(name, label, DropdownItem.NO_ICON,
+ false /* isIconAtLeft */, uniqueId, false /* isDeletable */,
+ false /* isMultilineLabel */, false /* isBoldLabel */);
}
private native void nativeDismissed(long nativeAwAutofillClient);

Powered by Google App Engine
This is Rietveld 408576698