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

Unified Diff: ash/system/locale/tray_locale.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/ime/tray_ime.cc ('k') | ash/system/power/power_status_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/locale/tray_locale.cc
diff --git a/ash/system/locale/tray_locale.cc b/ash/system/locale/tray_locale.cc
index 805e1559ee66029c9948210df12083c57940a520..4f7fefab15b199f22b0f0f0945535dbd4c55d5ed 100644
--- a/ash/system/locale/tray_locale.cc
+++ b/ash/system/locale/tray_locale.cc
@@ -42,7 +42,7 @@ class LocaleMessageView : public views::View,
views::Label* message = new views::Label(
l10n_util::GetStringFUTF16(
IDS_ASH_STATUS_TRAY_LOCALE_CHANGE_MESSAGE, from, to));
- message->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ message->SetHorizontalAlignment(gfx::ALIGN_LEFT);
message->SetMultiLine(true);
message->SizeToFit(kTrayNotificationContentsWidth);
AddChildView(message);
@@ -51,7 +51,7 @@ class LocaleMessageView : public views::View,
l10n_util::GetStringFUTF16(
IDS_ASH_STATUS_TRAY_LOCALE_REVERT_MESSAGE, from));
revert->set_listener(this);
- revert->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ revert->SetHorizontalAlignment(gfx::ALIGN_LEFT);
revert->SetMultiLine(true);
revert->SizeToFit(kTrayNotificationContentsWidth);
AddChildView(revert);
« no previous file with comments | « ash/system/ime/tray_ime.cc ('k') | ash/system/power/power_status_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698