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

Unified Diff: ui/accessibility/ax_text_utils.h

Issue 2518183002: Moved action verbs out of Blink. (Closed)
Patch Set: Added missing braces. Created 4 years 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 | « ui/accessibility/ax_node_data.cc ('k') | ui/accessibility/ax_text_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
+base::string16 AX_EXPORT
+ActionToUnlocalizedString(const AXSupportedAction supported_action);
+
} // namespace ui
#endif // UI_ACCESSIBILITY_AX_TEXT_UTILS_H_
« no previous file with comments | « ui/accessibility/ax_node_data.cc ('k') | ui/accessibility/ax_text_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698