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

Unified Diff: views/view.h

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/controls/textfield/textfield.cc ('k') | views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view.h
===================================================================
--- views/view.h (revision 71358)
+++ views/view.h (working copy)
@@ -571,18 +571,18 @@
// describes the default action that will occur when executing
// IAccessible::DoDefaultAction. For instance, default action of a button is
// 'Press'.
- virtual std::wstring GetAccessibleDefaultAction() { return std::wstring(); }
+ virtual string16 GetAccessibleDefaultAction() { return string16(); }
// Returns a string containing the mnemonic, or the keyboard shortcut, for a
// given control.
- virtual std::wstring GetAccessibleKeyboardShortcut() {
- return std::wstring();
+ virtual string16 GetAccessibleKeyboardShortcut() {
+ return string16();
}
// Returns a brief, identifying string, containing a unique, readable name of
// a given control. Sets the input string appropriately, and returns true if
// successful.
- bool GetAccessibleName(std::wstring* name);
+ bool GetAccessibleName(string16* name);
// Returns the accessibility role of the current view. The role is what
// assistive technologies (ATs) use to determine what behavior to expect from
@@ -595,12 +595,12 @@
}
// Returns the current value associated with a view.
- virtual std::wstring GetAccessibleValue() { return std::wstring(); }
+ virtual string16 GetAccessibleValue() { return string16(); }
// Assigns a string name to the given control. Needed as a View does not know
// which name will be associated with it until it is created to be a
// certain type.
- void SetAccessibleName(const std::wstring& name);
+ void SetAccessibleName(const string16& name);
// Returns an instance of the (platform-specific) accessibility interface for
// the View.
« no previous file with comments | « views/controls/textfield/textfield.cc ('k') | views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698