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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_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/web_intent_picker_views.cc ('k') | chrome/browser/ui/views/wrench_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
index 868cc391fe38a2c3694ec6a20c1893f204d24bce..da87a3bfcd560279f2cbc6af3371a9c27c7fa2f8 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
@@ -236,7 +236,7 @@ InternalPageInfoPopupView::InternalPageInfoPopupView(views::View* anchor_view)
new views::Label(l10n_util::GetStringUTF16(IDS_PAGE_INFO_INTERNAL_PAGE));
label->SetMultiLine(true);
label->SetAllowCharacterBreak(true);
- label->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
AddChildView(label);
views::BubbleDelegateView::CreateBubble(this);
@@ -720,7 +720,7 @@ void WebsiteSettingsPopupView::ResetConnectionSection(
headline_label->SetFont(
headline_label->font().DeriveFont(0, gfx::Font::BOLD));
headline_label->SetMultiLine(true);
- headline_label->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ headline_label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
// Allow linebreaking in the middle of words if necessary, so that extremely
// long hostnames (longer than one line) will still be completely shown.
headline_label->SetAllowCharacterBreak(true);
@@ -730,7 +730,7 @@ void WebsiteSettingsPopupView::ResetConnectionSection(
views::Label* description_label = new views::Label(text);
description_label->SetMultiLine(true);
- description_label->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ description_label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
description_label->SetAllowCharacterBreak(true);
content_layout->StartRow(1, 0);
content_layout->AddView(description_label);
« no previous file with comments | « chrome/browser/ui/views/web_intent_picker_views.cc ('k') | chrome/browser/ui/views/wrench_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698