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

Unified Diff: chrome/browser/ui/views/infobars/infobar_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
Index: chrome/browser/ui/views/infobars/infobar_view.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_view.cc b/chrome/browser/ui/views/infobars/infobar_view.cc
index 9febf59e87a5a76e7c118eafbbef6c07dd25c47e..161081da9e488bcea19911e18249399485398e07 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.cc
+++ b/chrome/browser/ui/views/infobars/infobar_view.cc
@@ -79,7 +79,7 @@ views::Label* InfoBarView::CreateLabel(const string16& text) const {
rb.GetFont(ui::ResourceBundle::MediumFont));
label->SetBackgroundColor(background()->get_color());
label->SetEnabledColor(SK_ColorBLACK);
- label->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
return label;
}
@@ -89,7 +89,7 @@ views::Link* InfoBarView::CreateLink(const string16& text,
views::Link* link = new views::Link;
link->SetText(text);
link->SetFont(rb.GetFont(ui::ResourceBundle::MediumFont));
- link->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ link->SetHorizontalAlignment(gfx::ALIGN_LEFT);
link->set_listener(listener);
link->SetBackgroundColor(background()->get_color());
link->set_focusable(true);

Powered by Google App Engine
This is Rietveld 408576698