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 /ui/message_center/base_format_view.cc | |
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 'ui/message_center/base_format_view.cc')
-rw-r--r-- | ui/message_center/base_format_view.cc | 8 |
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); |