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

Unified Diff: ash/system/tray_caps_lock.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/tray_views.cc ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray_caps_lock.cc
diff --git a/ash/system/tray_caps_lock.cc b/ash/system/tray_caps_lock.cc
index 357c6ee4405ec9cfc01abf0c095fdded97405c6b..a570664abeecf39ca06b446172117a16d7d2c736 100644
--- a/ash/system/tray_caps_lock.cc
+++ b/ash/system/tray_caps_lock.cc
@@ -38,7 +38,7 @@ class CapsLockDefaultView : public ActionableView {
ToImageSkia());
AddChildView(image);
- text_label_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ text_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
AddChildView(text_label_);
shortcut_label_->SetEnabled(false);
@@ -147,7 +147,7 @@ views::View* TrayCapsLock::CreateDetailedView(user::LoginStatus status) {
IDS_ASH_STATUS_TRAY_CAPS_LOCK_CANCEL_BY_ALT_SEARCH;
views::Label* label = new views::Label(bundle.GetLocalizedString(string_id));
label->SetMultiLine(true);
- label->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
detailed_->AddChildView(label);
return detailed_;
« no previous file with comments | « ash/system/tray/tray_views.cc ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698