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

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_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 | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/importer_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
===================================================================
--- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (revision 71358)
+++ chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (working copy)
@@ -122,7 +122,7 @@
tp->GetBitmapNamed(IDR_MINIMIZE_BUTTON_MASK));
}
minimize_button_->SetAccessibleName(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_ACCNAME_MINIMIZE)));
+ l10n_util::GetStringUTF16(IDS_ACCNAME_MINIMIZE));
AddChildView(minimize_button_);
maximize_button_->SetImage(views::CustomButton::BS_NORMAL,
@@ -136,7 +136,7 @@
tp->GetBitmapNamed(IDR_MAXIMIZE_BUTTON_MASK));
}
maximize_button_->SetAccessibleName(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_ACCNAME_MAXIMIZE)));
+ l10n_util::GetStringUTF16(IDS_ACCNAME_MAXIMIZE));
AddChildView(maximize_button_);
restore_button_->SetImage(views::CustomButton::BS_NORMAL,
@@ -150,7 +150,7 @@
tp->GetBitmapNamed(IDR_RESTORE_BUTTON_MASK));
}
restore_button_->SetAccessibleName(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_ACCNAME_RESTORE)));
+ l10n_util::GetStringUTF16(IDS_ACCNAME_RESTORE));
AddChildView(restore_button_);
close_button_->SetImage(views::CustomButton::BS_NORMAL,
@@ -164,7 +164,7 @@
tp->GetBitmapNamed(IDR_CLOSE_BUTTON_MASK));
}
close_button_->SetAccessibleName(
- UTF16ToWide(l10n_util::GetStringUTF16(IDS_ACCNAME_CLOSE)));
+ l10n_util::GetStringUTF16(IDS_ACCNAME_CLOSE));
AddChildView(close_button_);
// Initializing the TabIconView is expensive, so only do it if we need to.
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/importer_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698