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

Unified Diff: chrome/browser/ui/views/extensions/extension_installed_bubble.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/extensions/extension_installed_bubble.cc
diff --git a/chrome/browser/ui/views/extensions/extension_installed_bubble.cc b/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
index cd16e86e9f7b18570bc9c7700c73b09fa744df7b..b841de8b4ed3ba3f0ac995daf5a6b6c9617caac3 100644
--- a/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
+++ b/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
@@ -142,7 +142,7 @@ class InstalledBubbleContent : public views::View,
IDS_EXTENSION_INSTALLED_HEADING, extension_name));
heading_->SetFont(rb.GetFont(ui::ResourceBundle::MediumFont));
heading_->SetMultiLine(true);
- heading_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ heading_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
AddChildView(heading_);
bool has_keybinding = false;
@@ -169,7 +169,7 @@ class InstalledBubbleContent : public views::View,
info_->SetFont(font);
info_->SetMultiLine(true);
- info_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ info_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
AddChildView(info_);
manage_shortcut_ = new views::Link(
@@ -201,7 +201,7 @@ class InstalledBubbleContent : public views::View,
info_->SetFont(font);
info_->SetMultiLine(true);
- info_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ info_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
AddChildView(info_);
break;
}
@@ -211,7 +211,7 @@ class InstalledBubbleContent : public views::View,
UTF8ToUTF16(extension->omnibox_keyword())));
info_->SetFont(font);
info_->SetMultiLine(true);
- info_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ info_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
AddChildView(info_);
break;
}
@@ -222,7 +222,7 @@ class InstalledBubbleContent : public views::View,
manage_ = link;
manage_->SetFont(font);
manage_->SetMultiLine(true);
- manage_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ manage_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
AddChildView(manage_);
break;
}
@@ -238,7 +238,7 @@ class InstalledBubbleContent : public views::View,
l10n_util::GetStringUTF16(IDS_EXTENSION_INSTALLED_MANAGE_INFO));
manage_->SetFont(font);
manage_->SetMultiLine(true);
- manage_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ manage_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
AddChildView(manage_);
}

Powered by Google App Engine
This is Rietveld 408576698