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

Unified Diff: views/window/custom_frame_view.cc

Issue 6192007: Remove wstring from views. Part 3: Switch accessibility strings to string16.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « views/view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/custom_frame_view.cc
===================================================================
--- views/window/custom_frame_view.cc (revision 71358)
+++ views/window/custom_frame_view.cc (working copy)
@@ -78,13 +78,13 @@
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
close_button_->SetAccessibleName(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_APP_ACCNAME_CLOSE)));
+ l10n_util::GetStringUTF16(IDS_APP_ACCNAME_CLOSE));
// Close button images will be set in LayoutWindowControls().
AddChildView(close_button_);
restore_button_->SetAccessibleName(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_APP_ACCNAME_RESTORE)));
+ l10n_util::GetStringUTF16(IDS_APP_ACCNAME_RESTORE));
restore_button_->SetImage(CustomButton::BS_NORMAL,
rb.GetBitmapNamed(IDR_RESTORE));
restore_button_->SetImage(CustomButton::BS_HOT,
@@ -94,7 +94,7 @@
AddChildView(restore_button_);
maximize_button_->SetAccessibleName(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_APP_ACCNAME_MAXIMIZE)));
+ l10n_util::GetStringUTF16(IDS_APP_ACCNAME_MAXIMIZE));
maximize_button_->SetImage(CustomButton::BS_NORMAL,
rb.GetBitmapNamed(IDR_MAXIMIZE));
maximize_button_->SetImage(CustomButton::BS_HOT,
@@ -104,7 +104,7 @@
AddChildView(maximize_button_);
minimize_button_->SetAccessibleName(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_APP_ACCNAME_MINIMIZE)));
+ l10n_util::GetStringUTF16(IDS_APP_ACCNAME_MINIMIZE));
minimize_button_->SetImage(CustomButton::BS_NORMAL,
rb.GetBitmapNamed(IDR_MINIMIZE));
minimize_button_->SetImage(CustomButton::BS_HOT,
« no previous file with comments | « views/view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698