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

Unified Diff: ui/message_center/base_format_view.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 | « chrome/browser/ui/views/wrench_menu.cc ('k') | ui/message_center/message_center_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/base_format_view.cc
diff --git a/ui/message_center/base_format_view.cc b/ui/message_center/base_format_view.cc
index eed11f4995ab2ff9bba41cf420bd8988ea3e5934..942d42a02817ee7df521b8095d4ecdc2a7190160 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);
« no previous file with comments | « chrome/browser/ui/views/wrench_menu.cc ('k') | ui/message_center/message_center_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698