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

Unified Diff: ui/android/java/src/org/chromium/ui/DropdownItem.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: 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 740a370094beb2e35b8d15a38fd7e9d44ff2407f..d28db1d3920f2b793f8e14efbd1261ff0f46ee50 100644
--- a/ui/android/java/src/org/chromium/ui/DropdownItem.java
+++ b/ui/android/java/src/org/chromium/ui/DropdownItem.java
@@ -20,9 +20,9 @@ public interface DropdownItem {
*/
String getSublabel();
/**
- * Returns the vector drawable id of the icon that should be shown in the dropdown, or NO_ICON.
+ * Returns the drawable id of the icon that should be shown in the dropdown, or NO_ICON.
*/
- int getVectorDrawableIconId();
+ int getIconId();
/**
* Returns true if the item should be enabled in the dropdown.
*/
« no previous file with comments | « ui/android/java/src/org/chromium/ui/DropdownAdapter.java ('k') | ui/android/java/src/org/chromium/ui/DropdownItemBase.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698