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

Unified Diff: chrome/browser/ui/views/notifications/balloon_view_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/notifications/balloon_view_views.cc
diff --git a/chrome/browser/ui/views/notifications/balloon_view_views.cc b/chrome/browser/ui/views/notifications/balloon_view_views.cc
index 797514394ca5d6d372b003e9d657a92b4b51f813..44287a83eeef2c3af116223d7afbe68f2d5f2085 100644
--- a/chrome/browser/ui/views/notifications/balloon_view_views.cc
+++ b/chrome/browser/ui/views/notifications/balloon_view_views.cc
@@ -380,7 +380,7 @@ void BalloonViewImpl::Show(Balloon* balloon) {
source_label_->SetFont(rb.GetFont(ui::ResourceBundle::SmallFont));
source_label_->SetBackgroundColor(kControlBarBackgroundColor);
source_label_->SetEnabledColor(kControlBarTextColor);
- source_label_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ source_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
source_label_->SetElideBehavior(views::Label::ELIDE_AT_END);
source_label_->SetBoundsRect(GetLabelBounds());
« no previous file with comments | « chrome/browser/ui/views/network_profile_bubble_view.cc ('k') | chrome/browser/ui/views/page_info_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698