diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 17:37:36 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 17:37:36 +0000 |
commit | cc563f0e83d20a0eb740fbb61361f5c615223756 (patch) | |
tree | 225b866b5bf3d641e37bf92af10a0fe532c63ff2 /ash/system/locale | |
parent | a50563969a36701077cb226ff81c9a66230bfae9 (diff) | |
download | chromium_src-cc563f0e83d20a0eb740fbb61361f5c615223756.zip chromium_src-cc563f0e83d20a0eb740fbb61361f5c615223756.tar.gz chromium_src-cc563f0e83d20a0eb740fbb61361f5c615223756.tar.bz2 |
Replace Label::Alignment with gfx::HorizontalAlignment.
Also remove unnecessary center alignment specifications in:
ash/wm/maximize_bubble_controller.cc
chrome/browser/ui/views/find_bar_view.cc
chrome/browser/ui/views/panels/panel_frame_view.cc
chrome/browser/ui/views/speech_recognition_bubble_views.cc
ui/message_center/message_center_bubble.cc
BUG=90426,155526
TEST=No behavioral changes.
R=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11377005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166462 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/locale')
-rw-r--r-- | ash/system/locale/tray_locale.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/system/locale/tray_locale.cc b/ash/system/locale/tray_locale.cc index 805e155..4f7fefa 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); |