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

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: works 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..c05c23b63d2f0472b6c053d67183baa92eeedcd0 100644
--- a/ui/android/java/src/org/chromium/ui/DropdownItem.java
+++ b/ui/android/java/src/org/chromium/ui/DropdownItem.java
@@ -4,6 +4,8 @@
package org.chromium.ui;
+import android.graphics.Bitmap;
+
/**
* Dropdown item interface used to access all the information needed to show the item.
*/
@@ -17,6 +19,10 @@ public interface DropdownItem {
*/
String getSublabel();
/**
+ * Returns the icon that should be shown in the dropdown.
+ */
+ Bitmap getIcon();
+ /**
* Returns true if the item should be enabled in the dropdown.
*/
boolean isEnabled();

Powered by Google App Engine
This is Rietveld 408576698