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

Unified Diff: ash/common/system/user/user_card_view.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 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
« no previous file with comments | « ash/common/system/user/tray_user.cc ('k') | ash/common/system/user/user_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/user/user_card_view.cc
diff --git a/ash/common/system/user/user_card_view.cc b/ash/common/system/user/user_card_view.cc
index 49c7e0856cfbc655b5d244fb2cfc394f380ffea1..33bf017b2514629bb293e375ad0a023025227d45 100644
--- a/ash/common/system/user/user_card_view.cc
+++ b/ash/common/system/user/user_card_view.cc
@@ -82,7 +82,7 @@ views::View* CreateUserAvatarView(LoginStatus login_status, int user_index) {
}
if (UseMd()) {
- image_view->SetBorder(views::Border::CreateEmptyBorder(gfx::Insets(
+ image_view->SetBorder(views::CreateEmptyBorder(gfx::Insets(
(GetTrayConstant(TRAY_POPUP_ITEM_MAIN_IMAGE_CONTAINER_WIDTH) -
image_view->GetPreferredSize().width()) /
2)));
@@ -186,7 +186,7 @@ PublicAccountUserDetails::PublicAccountUserDetails(int max_width)
const int inner_padding =
kTrayPopupPaddingHorizontal - kTrayPopupPaddingBetweenItems;
const bool rtl = base::i18n::IsRTL();
- SetBorder(views::Border::CreateEmptyBorder(
+ SetBorder(views::CreateEmptyBorder(
kUserDetailsVerticalPadding, rtl ? 0 : inner_padding,
kUserDetailsVerticalPadding, rtl ? inner_padding : 0));
« no previous file with comments | « ash/common/system/user/tray_user.cc ('k') | ash/common/system/user/user_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698