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

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

Issue 8142026: Revert 104076 - Change std::wstring to string16 for views::Link (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
===================================================================
--- chrome/browser/chromeos/login/network_selection_view.cc (revision 104083)
+++ chrome/browser/chromeos/login/network_selection_view.cc (working copy)
@@ -343,26 +343,26 @@
UTF16ToWide(actor_->keyboard_switch_menu()->GetCurrentKeyboardName()));
welcome_label_->SetFont(welcome_label_font);
welcome_label_->SetText(
- l10n_util::GetStringUTF16(IDS_NETWORK_SELECTION_TITLE));
+ UTF16ToWide(l10n_util::GetStringUTF16(IDS_NETWORK_SELECTION_TITLE)));
select_language_label_->SetFont(select_label_font);
select_language_label_->SetText(
- l10n_util::GetStringUTF16(IDS_LANGUAGE_SELECTION_SELECT));
+ UTF16ToWide(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(
- l10n_util::GetStringUTF16(IDS_KEYBOARD_SELECTION_SELECT));
+ UTF16ToWide(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(
- l10n_util::GetStringUTF16(IDS_NETWORK_SELECTION_SELECT));
+ UTF16ToWide(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(
- l10n_util::GetStringUTF16(IDS_OPTIONS_PROXIES_CONFIGURE_BUTTON));
+ proxy_settings_link_->SetText(UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_OPTIONS_PROXIES_CONFIGURE_BUTTON)));
connecting_network_label_->SetFont(rb.GetFont(ResourceBundle::MediumFont));
RecreateNativeControls();
UpdateConnectingNetworkLabel();
@@ -472,8 +472,8 @@
}
void NetworkSelectionView::UpdateConnectingNetworkLabel() {
- connecting_network_label_->SetText(l10n_util::GetStringFUTF16(
- IDS_NETWORK_SELECTION_CONNECTING, network_id_));
+ connecting_network_label_->SetText(UTF16ToWide(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