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

Unified Diff: ui/android/java/src/org/chromium/ui/DropdownItem.java

Issue 2510283002: Http Bad: Put icon on the left of warning message and make value and label in one line on Android (Closed)
Patch Set: minor change Created 4 years 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 0a55bb0662d1f6f33bfebea0088c973bd1fb97ff..7ad26d5d41017a8eb9226ec539514367f8df0232 100644
--- a/ui/android/java/src/org/chromium/ui/DropdownItem.java
+++ b/ui/android/java/src/org/chromium/ui/DropdownItem.java
@@ -43,4 +43,13 @@ public interface DropdownItem {
* Returns resource ID of label's font size.
*/
int getLabelFontSizeResId();
+ /**
+ * Returns whether label and sublabel should be on the same line.
+ */
+ boolean isLabelAndSublabelOnSameLine();
+ /**
+ * Returns whether the icon should be displayed at the start, before label
+ * and sublabel.
+ */
+ boolean isIconAtStart();
}
« 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