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

Unified Diff: chrome/browser/ui/views/create_application_shortcut_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/create_application_shortcut_view.cc
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.cc b/chrome/browser/ui/views/create_application_shortcut_view.cc
index 026c862169a7e2de2a2d926083eca9c134e4a443..53d7354f30efb7f0e8f572f9a2246e3799fa3f84 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.cc
+++ b/chrome/browser/ui/views/create_application_shortcut_view.cc
@@ -98,7 +98,7 @@ void AppInfoView::Init(const string16& title_text,
title_ = new views::Label(title_text);
title_->SetMultiLine(true);
- title_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ title_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
title_->SetFont(ui::ResourceBundle::GetSharedInstance().GetFont(
ui::ResourceBundle::BaseFont).DeriveFont(0, gfx::Font::BOLD));
@@ -126,7 +126,7 @@ void AppInfoView::PrepareDescriptionLabel(const string16& description) {
} else {
description_ = new views::Label(text);
description_->SetMultiLine(true);
- description_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ description_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
}
}
@@ -255,7 +255,7 @@ void CreateApplicationShortcutView::InitControls() {
*shortcut_info_.favicon.ToSkBitmap());
create_shortcuts_label_ = new views::Label(
l10n_util::GetStringUTF16(IDS_CREATE_SHORTCUTS_LABEL));
- create_shortcuts_label_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ create_shortcuts_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
desktop_check_box_ = AddCheckbox(
l10n_util::GetStringUTF16(IDS_CREATE_SHORTCUTS_DESKTOP_CHKBOX),

Powered by Google App Engine
This is Rietveld 408576698