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

Unified Diff: ui/android/java/src/org/chromium/ui/DropdownItemBase.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
« no previous file with comments | « ui/android/java/src/org/chromium/ui/DropdownItem.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/src/org/chromium/ui/DropdownItemBase.java
diff --git a/ui/android/java/src/org/chromium/ui/DropdownItemBase.java b/ui/android/java/src/org/chromium/ui/DropdownItemBase.java
index 9a0c76589b7728ba8785dad939df1d4903fc747f..d53dbe81a2c97e3344124a3fedfb2b657fdd8dab 100644
--- a/ui/android/java/src/org/chromium/ui/DropdownItemBase.java
+++ b/ui/android/java/src/org/chromium/ui/DropdownItemBase.java
@@ -55,6 +55,11 @@ public class DropdownItemBase implements DropdownItem {
}
@Override
+ public int getSublabelFontSizeResId() {
+ return R.dimen.dropdown_item_sublabel_font_size;
+ }
+
+ @Override
public boolean isLabelAndSublabelOnSameLine() {
return false;
}
@@ -63,4 +68,14 @@ public class DropdownItemBase implements DropdownItem {
public boolean isIconAtStart() {
return false;
}
+
+ @Override
+ public int getIconSizeResId() {
+ return 0;
+ }
+
+ @Override
+ public int getIconMarginResId() {
+ return R.dimen.dropdown_icon_margin;
+ }
}
« no previous file with comments | « ui/android/java/src/org/chromium/ui/DropdownItem.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698