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

Unified Diff: ash/system/chromeos/network/tray_network.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 | « ash/launcher/launcher_tooltip_manager.cc ('k') | ash/system/chromeos/network/tray_sms.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/network/tray_network.cc
diff --git a/ash/system/chromeos/network/tray_network.cc b/ash/system/chromeos/network/tray_network.cc
index 7ea2f5661ad0fc6faca77b4e60cc366e668d8be9..9f6ad418deaadf9ce2edacb566ef69e593e9de95 100644
--- a/ash/system/chromeos/network/tray_network.cc
+++ b/ash/system/chromeos/network/tray_network.cc
@@ -379,7 +379,7 @@ class NetworkWifiDetailedView : public NetworkDetailedView {
views::Label* label =
new views::Label(bundle.GetLocalizedString(string_id));
label->SetMultiLine(true);
- label->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
AddChildView(label);
}
@@ -413,14 +413,14 @@ class NetworkMessageView : public views::View,
if (!network_msg.title.empty()) {
views::Label* title = new views::Label(network_msg.title);
- title->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ title->SetHorizontalAlignment(gfx::ALIGN_LEFT);
title->SetFont(title->font().DeriveFont(0, gfx::Font::BOLD));
AddChildView(title);
}
if (!network_msg.message.empty()) {
views::Label* message = new views::Label(network_msg.message);
- message->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ message->SetHorizontalAlignment(gfx::ALIGN_LEFT);
message->SetMultiLine(true);
message->SizeToFit(kTrayNotificationContentsWidth);
AddChildView(message);
@@ -431,7 +431,7 @@ class NetworkMessageView : public views::View,
views::Link* link = new views::Link(network_msg.links[i]);
link->set_id(i);
link->set_listener(this);
- link->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ link->SetHorizontalAlignment(gfx::ALIGN_LEFT);
link->SetMultiLine(true);
link->SizeToFit(kTrayNotificationContentsWidth);
AddChildView(link);
« no previous file with comments | « ash/launcher/launcher_tooltip_manager.cc ('k') | ash/system/chromeos/network/tray_sms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698