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

Unified Diff: ui/accessibility/ax_text_utils.h

Issue 2518183002: Moved action verbs out of Blink. (Closed)
Patch Set: Exposes appropriate state and action names when controls are disabled. Created 4 years, 1 month 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: ui/accessibility/ax_text_utils.h
diff --git a/ui/accessibility/ax_text_utils.h b/ui/accessibility/ax_text_utils.h
index a074cfebc321f141012911fe4de54f7867f7bedc..6ab32a3e03e6ec25054b8b923cc2a455512ff426 100644
--- a/ui/accessibility/ax_text_utils.h
+++ b/ui/accessibility/ax_text_utils.h
@@ -52,6 +52,10 @@ 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);
+
} // namespace ui
#endif // UI_ACCESSIBILITY_AX_TEXT_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698