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

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: Uses format string for expiration date label. Consistently returns 0 as default (non-experiment) va… 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..a964c9b43243781c120a6eedb9534e7b95b11594 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,8 @@ 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, uniqueId,
+ false /* deletable */, false /* isMultilineLabel */, false /* isBoldLabel */);
}
private native void nativeDismissed(long nativeAwAutofillClient);

Powered by Google App Engine
This is Rietveld 408576698