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

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: format Created 4 years, 1 month 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..aecd0ff85874e7615f07e3c5824a22a2a2d30fc5 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 orientation of label and sublabel.
+ */
+ int getLabelSublabelOrientation();
Ted C 2016/11/28 18:29:12 instead of passing an internal layout param from L
lshang 2016/11/30 10:35:44 Yeah your point makes sense. but I can't think of
+ /**
+ * Returns whether the icon should be displayed on the left, before label
+ * and sublabel.
+ */
+ boolean isIconOnLeft();
}

Powered by Google App Engine
This is Rietveld 408576698