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(); |