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

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

Issue 2627153007: Fix styling of Form-Not-Secure warnings on Android (Closed)
Patch Set: actually set the icon size Created 3 years, 11 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 d28db1d3920f2b793f8e14efbd1261ff0f46ee50..bd0d79c263dfe428b44696210464ca01d9a91d9f 100644
--- a/ui/android/java/src/org/chromium/ui/DropdownItem.java
+++ b/ui/android/java/src/org/chromium/ui/DropdownItem.java
@@ -48,6 +48,10 @@ public interface DropdownItem {
*/
int getLabelFontSizeResId();
/**
+ * Returns resource ID of sublabel's font size.
+ */
+ int getSublabelFontSizeResId();
+ /**
* Returns whether label and sublabel should be on the same line.
*/
boolean isLabelAndSublabelOnSameLine();
@@ -56,4 +60,12 @@ public interface DropdownItem {
* and sublabel.
*/
boolean isIconAtStart();
+ /**
+ * Returns the resource ID of the icon's size, or 0 to use WRAP_CONTENT.
+ */
+ int getIconSizeResId();
+ /**
+ * Returns the resource ID of the icon's margin size.
+ */
+ int getIconMarginResId();
}
« 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