| 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..4b89a4984311567bfe6e5b2dd90c68a1f3ecab45 100644
|
| --- a/ui/android/java/src/org/chromium/ui/DropdownItem.java
|
| +++ b/ui/android/java/src/org/chromium/ui/DropdownItem.java
|
| @@ -8,6 +8,9 @@ package org.chromium.ui;
|
| * Dropdown item interface used to access all the information needed to show the item.
|
| */
|
| public interface DropdownItem {
|
| + // A stand in for a resource ID which indicates no icon should be shown.
|
| + public static final int NO_ICON = 0;
|
| +
|
| /**
|
| * Returns the label that should be shown in the dropdown.
|
| */
|
| @@ -17,6 +20,10 @@ public interface DropdownItem {
|
| */
|
| String getSublabel();
|
| /**
|
| + * Returns the drawable id of the icon that should be shown in the dropdown, or NO_ICON.
|
| + */
|
| + int getIconId();
|
| + /**
|
| * Returns true if the item should be enabled in the dropdown.
|
| */
|
| boolean isEnabled();
|
|
|