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

Unified Diff: ui/android/java/src/org/chromium/ui/DropdownItem.java

Issue 443193006: Show icons in Android web autofill dropdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix indent 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: ui/android/java/src/org/chromium/ui/DropdownItem.java
diff --git a/ui/android/java/src/org/chromium/ui/DropdownItem.java b/ui/android/java/src/org/chromium/ui/DropdownItem.java
index 46d8d0e215318974131233e888892e772f7f0492..6d12a317136e5184d7add7e246dacfd95ce41754 100644
--- a/ui/android/java/src/org/chromium/ui/DropdownItem.java
+++ b/ui/android/java/src/org/chromium/ui/DropdownItem.java
@@ -17,6 +17,10 @@ public interface DropdownItem {
*/
String getSublabel();
/**
+ * Returns the drawable id of the icon that should be shown in the dropdown, or 0 for no icon.
+ */
+ int getIconId();
+ /**
* Returns true if the item should be enabled in the dropdown.
*/
boolean isEnabled();

Powered by Google App Engine
This is Rietveld 408576698