summaryrefslogtreecommitdiffstats
path: root/ui/message_center/base_format_view.cc
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-07 17:37:36 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-07 17:37:36 +0000
commitcc563f0e83d20a0eb740fbb61361f5c615223756 (patch)
tree225b866b5bf3d641e37bf92af10a0fe532c63ff2 /ui/message_center/base_format_view.cc
parenta50563969a36701077cb226ff81c9a66230bfae9 (diff)
downloadchromium_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 'ui/message_center/base_format_view.cc')
-rw-r--r--ui/message_center/base_format_view.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/message_center/base_format_view.cc b/ui/message_center/base_format_view.cc
index eed11f4..942d42a 100644
--- a/ui/message_center/base_format_view.cc
+++ b/ui/message_center/base_format_view.cc
@@ -41,17 +41,17 @@ void BaseFormatView::SetUpView() {
icon_->SetImage(notification_.image);
views::Label* title = new views::Label(notification_.title);
- title->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ title->SetHorizontalAlignment(gfx::ALIGN_LEFT);
title->SetFont(title->font().DeriveFont(0, gfx::Font::BOLD));
views::Label* extra_field = new views::Label(notification_.extra_field);
- extra_field->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ extra_field->SetHorizontalAlignment(gfx::ALIGN_LEFT);
views::Label* second_extra_field =
new views::Label(notification_.second_extra_field);
- second_extra_field->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ second_extra_field->SetHorizontalAlignment(gfx::ALIGN_LEFT);
views::Label* message = new views::Label(notification_.message);
- message->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ message->SetHorizontalAlignment(gfx::ALIGN_LEFT);
message->SetMultiLine(true);
close_button_ = new views::ImageButton(this);