| Index: ui/android/java/src/org/chromium/ui/autofill/AutofillSuggestion.java
|
| diff --git a/ui/android/java/src/org/chromium/ui/autofill/AutofillSuggestion.java b/ui/android/java/src/org/chromium/ui/autofill/AutofillSuggestion.java
|
| index a1fb2b02c5399602f6f35a5d7f13a7cd244f0bec..8feaafb2d8d487880ed5908205a2ca33749adeab 100644
|
| --- a/ui/android/java/src/org/chromium/ui/autofill/AutofillSuggestion.java
|
| +++ b/ui/android/java/src/org/chromium/ui/autofill/AutofillSuggestion.java
|
| @@ -12,6 +12,7 @@ import org.chromium.ui.DropdownItem;
|
| public class AutofillSuggestion implements DropdownItem {
|
| private final String mLabel;
|
| private final String mSublabel;
|
| + private final int mIconId;
|
| private final int mSuggestionId;
|
|
|
| /**
|
| @@ -20,9 +21,10 @@ public class AutofillSuggestion implements DropdownItem {
|
| * @param label The describing label of the Autofill suggestion.
|
| * @param suggestionId The type of suggestion.
|
| */
|
| - public AutofillSuggestion(String name, String label, int suggestionId) {
|
| + public AutofillSuggestion(String name, String label, int iconId, int suggestionId) {
|
| mLabel = name;
|
| mSublabel = label;
|
| + mIconId = iconId;
|
| mSuggestionId = suggestionId;
|
| }
|
|
|
| @@ -37,6 +39,11 @@ public class AutofillSuggestion implements DropdownItem {
|
| }
|
|
|
| @Override
|
| + public int getIconId() {
|
| + return mIconId;
|
| + }
|
| +
|
| + @Override
|
| public boolean isEnabled() {
|
| return true;
|
| }
|
|
|