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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java

Issue 2665433002: [Merge M57] Use uniform margin for icon, label and sublabel (Closed)
Patch Set: 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: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java
index b5adb64387e022e6d4b4b8f0eeb9b12a27897614..20a422c71d2963a14300ec6a59b6f933bd124b90 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java
@@ -99,12 +99,14 @@ public class AutofillPopupBridge implements AutofillDelegate, DialogInterface.On
* not specified in experiment.
* @param dropdownItemHeight height of each dropdown item in dimension independent pixel units,
* 0 if not specified in experiment.
+ * @param margin Margin for icon, label and between icon and label in dimension independent
+ * pixel units, 0 if not specified in experiment.
*/
@CalledByNative
private void show(AutofillSuggestion[] suggestions, boolean isRtl, int backgroundColor,
- int dividerColor, int dropdownItemHeight) {
+ int dividerColor, int dropdownItemHeight, int margin) {
if (mAutofillPopup != null) mAutofillPopup.filterAndShow(suggestions, isRtl,
- backgroundColor, dividerColor, dropdownItemHeight);
+ backgroundColor, dividerColor, dropdownItemHeight, margin);
}
@CalledByNative

Powered by Google App Engine
This is Rietveld 408576698