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

Unified Diff: chrome/browser/ui/views/first_run_search_engine_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/first_run_search_engine_view.cc
===================================================================
--- chrome/browser/ui/views/first_run_search_engine_view.cc (revision 71358)
+++ chrome/browser/ui/views/first_run_search_engine_view.cc (working copy)
@@ -92,7 +92,7 @@
// screenreaders. It uses the browser name rather than the text of the
// button "Choose", since it's not obvious to a screenreader user which
// browser each button corresponds to.
- SetAccessibleName(search_engine_->short_name());
+ SetAccessibleName(WideToUTF16Hack(search_engine_->short_name()));
}
int SearchEngineChoice::GetChoiceViewWidth() {
« no previous file with comments | « chrome/browser/ui/views/find_bar_view.cc ('k') | chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698