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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.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/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index f2e2fe83116d44e01a43db8dca6bc6ed52245eeb..f2bee50ac9f4897b552e2b549797cfee4f28c59a 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -25,7 +25,7 @@ namespace {
// Returns a label that describes a details section.
views::Label* CreateDetailsSectionLabel(const string16& text) {
views::Label* label = new views::Label(text);
- label->SetHorizontalAlignment(views::Label::ALIGN_RIGHT);
+ label->SetHorizontalAlignment(gfx::ALIGN_RIGHT);
label->SetFont(label->font().DeriveFont(0, gfx::Font::BOLD));
// TODO(estade): this should be made to match the native textfield top
// inset. It's hard to get at, so for now it's hard-coded.
@@ -141,7 +141,7 @@ void AutofillDialogViews::InitChildViews() {
layout->StartRow(0, single_column_set);
views::Label* intro = new views::Label(controller_->IntroText());
- intro->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ intro->SetHorizontalAlignment(gfx::ALIGN_LEFT);
layout->AddView(intro);
layout->StartRowWithPadding(0, single_column_set,
« no previous file with comments | « chrome/browser/first_run/try_chrome_dialog_view.cc ('k') | chrome/browser/ui/views/avatar_menu_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698