Chromium Code Reviews| Index: ui/accessibility/ax_text_utils.h |
| diff --git a/ui/accessibility/ax_text_utils.h b/ui/accessibility/ax_text_utils.h |
| index a074cfebc321f141012911fe4de54f7867f7bedc..f760660f561d8e15f8b0327b1e2d504e747dae9c 100644 |
| --- a/ui/accessibility/ax_text_utils.h |
| +++ b/ui/accessibility/ax_text_utils.h |
| @@ -52,6 +52,15 @@ size_t AX_EXPORT |
| TextBoundaryDirection direction, |
| AXTextAffinity affinity); |
| +// Returns a string ID that corresponds to the name of the given action. |
| +base::string16 AX_EXPORT |
| +ActionToString(const AXSupportedAction supported_action); |
| + |
| +// Returns the non-localized string representation of a supported action. |
| +// Some APIs on Linux and Windows need to return non-localized action names. |
|
dmazzoni
2016/12/13 23:24:34
What are we going to do if the name of the string
|
| +base::string16 AX_EXPORT |
| +ActionToUnlocalizedString(const AXSupportedAction supported_action); |
| + |
| } // namespace ui |
| #endif // UI_ACCESSIBILITY_AX_TEXT_UTILS_H_ |