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

Unified Diff: chrome/browser/chromeos/options/vpn_config_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/chromeos/options/vpn_config_view.cc
diff --git a/chrome/browser/chromeos/options/vpn_config_view.cc b/chrome/browser/chromeos/options/vpn_config_view.cc
index 7c4e31671d0476486e8d783e38f18fb44aa1abc3..b4081205d883ea2b877543e453ff5f1b7c6ba234 100644
--- a/chrome/browser/chromeos/options/vpn_config_view.cc
+++ b/chrome/browser/chromeos/options/vpn_config_view.cc
@@ -548,7 +548,7 @@ void VPNConfigView::Init(VirtualNetwork* vpn) {
service_text_ = NULL;
} else {
service_text_ = new views::Label(ASCIIToUTF16(vpn->name()));
- service_text_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ service_text_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
layout->AddView(service_text_);
service_textfield_ = NULL;
}
@@ -569,7 +569,7 @@ void VPNConfigView::Init(VirtualNetwork* vpn) {
} else {
provider_type_text_label_ =
new views::Label(ProviderTypeToString(provider_type_));
- provider_type_text_label_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ provider_type_text_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
layout->AddView(provider_type_text_label_);
provider_type_combobox_ = NULL;
}
@@ -712,7 +712,7 @@ void VPNConfigView::Init(VirtualNetwork* vpn) {
layout->StartRow(0, column_view_set_id);
layout->SkipColumns(1);
error_label_ = new views::Label();
- error_label_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ error_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
error_label_->SetEnabledColor(SK_ColorRED);
layout->AddView(error_label_);
« no previous file with comments | « chrome/browser/chromeos/login/take_photo_view.cc ('k') | chrome/browser/chromeos/options/wifi_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698