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

Unified Diff: content/renderer/accessibility/blink_ax_enum_conversion.h

Issue 790003003: Exposed the invalid state of form controls to the accessibility APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tried fixing Android unit tests. Created 5 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
Index: content/renderer/accessibility/blink_ax_enum_conversion.h
diff --git a/content/renderer/accessibility/blink_ax_enum_conversion.h b/content/renderer/accessibility/blink_ax_enum_conversion.h
index b7c41a10e90b04daf97f8d931f31f04c2acd0520..6d56ce4f1ae9befd4f3cadfdef60a04679e84249 100644
--- a/content/renderer/accessibility/blink_ax_enum_conversion.h
+++ b/content/renderer/accessibility/blink_ax_enum_conversion.h
@@ -27,6 +27,11 @@ uint32 AXStateFromBlink(const blink::WebAXObject& o);
ui::AXTextDirection AXTextDirectionFromBlink(
blink::WebAXTextDirection text_direction);
+// Convert a Blink WebAXInvalidState to an AXInvalidState defined in
+// ui/accessibility.
+ui::AXInvalidState AXInvalidStateFromBlink(
+ blink::WebAXInvalidState invalid_state);
+
} // namespace content
#endif // CONTENT_RENDERER_ACCESSIBILITY_BLINK_AX_ENUM_CONVERSION_H_
« no previous file with comments | « content/browser/accessibility/browser_accessibility_win.cc ('k') | content/renderer/accessibility/blink_ax_enum_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698