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

Unified Diff: views/accessibility/view_accessibility.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/wrench_menu.cc ('k') | views/controls/button/button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/accessibility/view_accessibility.cc
===================================================================
--- views/accessibility/view_accessibility.cc (revision 71358)
+++ views/accessibility/view_accessibility.cc (working copy)
@@ -282,7 +282,7 @@
if (!view_)
return E_FAIL;
- std::wstring temp_action = view_->GetAccessibleDefaultAction();
+ string16 temp_action = view_->GetAccessibleDefaultAction();
if (!temp_action.empty()) {
*def_action = SysAllocString(temp_action.c_str());
@@ -347,7 +347,7 @@
if (!view_)
return E_FAIL;
- std::wstring temp_key = view_->GetAccessibleKeyboardShortcut();
+ string16 temp_key = view_->GetAccessibleKeyboardShortcut();
if (!temp_key.empty()) {
*acc_key = SysAllocString(temp_key.c_str());
@@ -365,7 +365,7 @@
if (!view_)
return E_FAIL;
- std::wstring temp_name;
+ string16 temp_name;
// Retrieve the current view's name.
view_->GetAccessibleName(&temp_name);
@@ -457,7 +457,7 @@
return E_FAIL;
// Retrieve the current view's value.
- std::wstring temp_value = view_->GetAccessibleValue();
+ string16 temp_value = view_->GetAccessibleValue();
if (!temp_value.empty()) {
// Return value retrieved.
« no previous file with comments | « chrome/browser/ui/views/wrench_menu.cc ('k') | views/controls/button/button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698