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

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

Issue 443193006: Show icons in Android web autofill dropdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix up build files Created 6 years, 1 month 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/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java
index 764200499cb3ef90047e884ccde1edd04868cdd6..e0548cd8925b1439f77ffb8e72b1b310ef412264 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java
@@ -15,6 +15,7 @@ import org.chromium.chrome.shell.ChromeShellTestBase;
import org.chromium.content.browser.test.util.Criteria;
import org.chromium.content.browser.test.util.CriteriaHelper;
import org.chromium.content.browser.test.util.TouchCommon;
+import org.chromium.ui.DropdownItem;
import org.chromium.ui.autofill.AutofillPopup;
import org.chromium.ui.autofill.AutofillPopup.AutofillPopupDelegate;
import org.chromium.ui.autofill.AutofillSuggestion;
@@ -88,18 +89,20 @@ public class AutofillTest extends ChromeShellTestBase {
private AutofillSuggestion[] createTwoAutofillSuggestionArray() {
return new AutofillSuggestion[] {
- new AutofillSuggestion("Sherlock Holmes", "221B Baker Street", 42),
- new AutofillSuggestion("Arthur Dent", "West Country", 43),
+ new AutofillSuggestion("Sherlock Holmes", "221B Baker Street", DropdownItem.NO_ICON,
+ 42),
+ new AutofillSuggestion("Arthur Dent", "West Country", DropdownItem.NO_ICON, 43),
};
}
private AutofillSuggestion[] createFiveAutofillSuggestionArray() {
return new AutofillSuggestion[] {
- new AutofillSuggestion("Sherlock Holmes", "221B Baker Street", 42),
- new AutofillSuggestion("Arthur Dent", "West Country", 43),
- new AutofillSuggestion("Arthos", "France", 44),
- new AutofillSuggestion("Porthos", "France", 45),
- new AutofillSuggestion("Aramis", "France", 46),
+ new AutofillSuggestion("Sherlock Holmes", "221B Baker Street", DropdownItem.NO_ICON,
+ 42),
+ new AutofillSuggestion("Arthur Dent", "West Country", DropdownItem.NO_ICON, 43),
+ new AutofillSuggestion("Arthos", "France", DropdownItem.NO_ICON, 44),
+ new AutofillSuggestion("Porthos", "France", DropdownItem.NO_ICON, 45),
+ new AutofillSuggestion("Aramis", "France", DropdownItem.NO_ICON, 46),
};
}
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698