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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_layout_model.cc

Issue 2649623002: [Autofill] Uses uniform margin for icon, label and sublabel in popup (Closed)
Patch Set: Moves label margin calculation to constructor. 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/browser/ui/autofill/autofill_popup_layout_model.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_layout_model.cc b/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
index b985edd7c252a3c016d129c70c5dead838affbe7..a6068ecfcf8dcf32607a75ccf8d514e9ecdbb204 100644
--- a/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
@@ -300,4 +300,8 @@ bool AutofillPopupLayoutModel::IsIconAtStart(int frontend_id) const {
(is_credit_card_popup_ && IsIconInCreditCardPopupAtStart());
}
+unsigned int AutofillPopupLayoutModel::GetMargin() const {
+ return GetPopupMargin();
+}
+
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698