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

Unified Diff: components/autofill/android/java/src/org/chromium/components/autofill/AutofillSuggestion.java

Issue 2616503002: Support all drawable types in DropdownItem. (Closed)
Patch Set: Fix AutofillKeyboardAccessory Created 3 years, 12 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: components/autofill/android/java/src/org/chromium/components/autofill/AutofillSuggestion.java
diff --git a/components/autofill/android/java/src/org/chromium/components/autofill/AutofillSuggestion.java b/components/autofill/android/java/src/org/chromium/components/autofill/AutofillSuggestion.java
index 2262fd7224f93e1c0f18bdeb9deb098d1ad52c16..ec5efc7eb4564b2f827f0016d2537d21aa4347fb 100644
--- a/components/autofill/android/java/src/org/chromium/components/autofill/AutofillSuggestion.java
+++ b/components/autofill/android/java/src/org/chromium/components/autofill/AutofillSuggestion.java
@@ -28,11 +28,12 @@ public class AutofillSuggestion extends DropdownItemBase {
/**
* Constructs a Autofill suggestion container.
+ *
* @param label The main label of the Autofill suggestion.
* @param sublabel The describing sublabel of the Autofill suggestion.
* @param iconId The resource ID for the icon associated with the suggestion, or
- * {@code DropdownItem.NO_ICON} for no icon.
- * @param isIconAtStart {@code true} if {@param iconId} is displayed before {@param label}.
+ * {@code DropdownItem.NO_ICON} for no icon.
+ * @param isIconAtStart {@code true} if {@code iconId} is displayed before {@code label}.
* @param suggestionId The type of suggestion.
* @param isDeletable Whether the item can be deleted by the user.
* @param isMultilineLabel Whether the label is displayed over multiple lines.
@@ -61,7 +62,7 @@ public class AutofillSuggestion extends DropdownItemBase {
}
@Override
- public int getVectorDrawableIconId() {
+ public int getIconId() {
return mIconId;
}

Powered by Google App Engine
This is Rietveld 408576698