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

Unified Diff: chrome/browser/ui/views/bookmark_editor_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
Index: chrome/browser/ui/views/bookmark_editor_view.cc
===================================================================
--- chrome/browser/ui/views/bookmark_editor_view.cc (revision 71358)
+++ chrome/browser/ui/views/bookmark_editor_view.cc (working copy)
@@ -278,7 +278,7 @@
title_label_ = new views::Label(
UTF16ToWide(l10n_util::GetStringUTF16(IDS_BOOMARK_EDITOR_NAME_LABEL)));
- title_tf_.SetAccessibleName(title_label_->GetText());
+ title_tf_.SetAccessibleName(WideToUTF16Hack(title_label_->GetText()));
string16 url_text;
if (details_.type == EditDetails::EXISTING_NODE) {
@@ -297,7 +297,7 @@
url_label_ = new views::Label(
UTF16ToWide(l10n_util::GetStringUTF16(IDS_BOOMARK_EDITOR_URL_LABEL)));
- url_tf_.SetAccessibleName(url_label_->GetText());
+ url_tf_.SetAccessibleName(WideToUTF16Hack(url_label_->GetText()));
if (show_tree_) {
tree_view_ = new views::TreeView();
« no previous file with comments | « chrome/browser/ui/views/bookmark_bubble_view.cc ('k') | chrome/browser/ui/views/browser_actions_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698