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

Unified Diff: ash/system/user/tray_user.cc

Issue 11377005: Replace Label::Alignment with gfx::HorizontalAlignment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix remaining Label::Alignment references. Created 8 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/system/tray_caps_lock.cc ('k') | ash/wm/maximize_bubble_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/tray_user.cc
diff --git a/ash/system/user/tray_user.cc b/ash/system/user/tray_user.cc
index 8d5720b9dad76a5682fa156d337189004d21fb4f..c6634c9aeb39a34ce05d9526ac26036f3fb42bcd 100644
--- a/ash/system/user/tray_user.cc
+++ b/ash/system/user/tray_user.cc
@@ -152,7 +152,7 @@ class UserView : public views::View,
bundle.GetLocalizedString(IDS_ASH_STATUS_TRAY_KIOSK_LABEL));
label->set_border(views::Border::CreateEmptyBorder(
0, 4, 0, 1));
- label->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
user_info_->AddChildView(label);
return;
}
@@ -168,12 +168,12 @@ class UserView : public views::View,
ash::SystemTrayDelegate* tray =
ash::Shell::GetInstance()->tray_delegate();
username_ = new views::Label(tray->GetUserDisplayName());
- username_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ username_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
user->AddChildView(username_);
email_ = new views::Label(UTF8ToUTF16(tray->GetUserEmail()));
email_->SetFont(username_->font().DeriveFont(-1));
- email_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ email_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
email_->SetEnabled(false);
user->AddChildView(email_);
« no previous file with comments | « ash/system/tray_caps_lock.cc ('k') | ash/wm/maximize_bubble_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698