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

Unified Diff: chrome/browser/chromeos/login/network_selection_view.cc

Issue 8113031: Change std::wstring to string16 for views::Label and views::Link (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 2 months 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/chromeos/login/message_bubble.cc ('k') | chrome/browser/chromeos/login/new_user_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/network_selection_view.cc
diff --git a/chrome/browser/chromeos/login/network_selection_view.cc b/chrome/browser/chromeos/login/network_selection_view.cc
index 805faf5cfeba29f81c1cfcb0ebb5bb35aec85249..e3eb0c5bce81e08a81c0bec31eb3d7c0094f2768 100644
--- a/chrome/browser/chromeos/login/network_selection_view.cc
+++ b/chrome/browser/chromeos/login/network_selection_view.cc
@@ -343,26 +343,26 @@ void NetworkSelectionView::UpdateLocalizedStringsAndFonts() {
UTF16ToWide(actor_->keyboard_switch_menu()->GetCurrentKeyboardName()));
welcome_label_->SetFont(welcome_label_font);
welcome_label_->SetText(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_NETWORK_SELECTION_TITLE)));
+ l10n_util::GetStringUTF16(IDS_NETWORK_SELECTION_TITLE));
select_language_label_->SetFont(select_label_font);
select_language_label_->SetText(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_LANGUAGE_SELECTION_SELECT)));
+ l10n_util::GetStringUTF16(IDS_LANGUAGE_SELECTION_SELECT));
languages_menubutton_->SetAccessibleName(
l10n_util::GetStringUTF16(IDS_LANGUAGE_SELECTION_SELECT));
select_keyboard_label_->SetFont(select_label_font);
select_keyboard_label_->SetText(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_KEYBOARD_SELECTION_SELECT)));
+ l10n_util::GetStringUTF16(IDS_KEYBOARD_SELECTION_SELECT));
keyboards_menubutton_->SetAccessibleName(
l10n_util::GetStringUTF16(IDS_KEYBOARD_SELECTION_SELECT));
select_network_label_->SetFont(select_label_font);
select_network_label_->SetText(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_NETWORK_SELECTION_SELECT)));
+ l10n_util::GetStringUTF16(IDS_NETWORK_SELECTION_SELECT));
SetMenuButtonFont(network_dropdown_, base_font);
network_dropdown_->SetAccessibleName(
l10n_util::GetStringUTF16(IDS_NETWORK_SELECTION_SELECT));
proxy_settings_link_->SetFont(base_font);
- proxy_settings_link_->SetText(UTF16ToWide(
- l10n_util::GetStringUTF16(IDS_OPTIONS_PROXIES_CONFIGURE_BUTTON)));
+ proxy_settings_link_->SetText(
+ l10n_util::GetStringUTF16(IDS_OPTIONS_PROXIES_CONFIGURE_BUTTON));
connecting_network_label_->SetFont(rb.GetFont(ResourceBundle::MediumFont));
RecreateNativeControls();
UpdateConnectingNetworkLabel();
@@ -472,8 +472,8 @@ void NetworkSelectionView::RecreateNativeControls() {
}
void NetworkSelectionView::UpdateConnectingNetworkLabel() {
- connecting_network_label_->SetText(UTF16ToWide(l10n_util::GetStringFUTF16(
- IDS_NETWORK_SELECTION_CONNECTING, network_id_)));
+ connecting_network_label_->SetText(l10n_util::GetStringFUTF16(
+ IDS_NETWORK_SELECTION_CONNECTING, network_id_));
}
} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/login/message_bubble.cc ('k') | chrome/browser/chromeos/login/new_user_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698