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

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

Issue 535893002: Adds conversion rule for WebAXRoleFigcaption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add expected android file with skip comment Created 6 years, 3 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.cc
diff --git a/content/renderer/accessibility/blink_ax_enum_conversion.cc b/content/renderer/accessibility/blink_ax_enum_conversion.cc
index b01c5295178190bf8036488565fd61b927dce6c7..fc71b5ce3c4f15e2bab01b5d26314af668223132 100644
--- a/content/renderer/accessibility/blink_ax_enum_conversion.cc
+++ b/content/renderer/accessibility/blink_ax_enum_conversion.cc
@@ -140,8 +140,10 @@ ui::AXRole AXRoleFromBlink(blink::WebAXRole role) {
return ui::AX_ROLE_EDITABLE_TEXT;
case blink::WebAXRoleEmbeddedObject:
return ui::AX_ROLE_EMBEDDED_OBJECT;
+ case blink::WebAXRoleFigcaption:
+ return ui::AX_ROLE_FIGCAPTION;
case blink::WebAXRoleFigure:
- return ui::AX_ROLE_FIGURE;
+ return ui::AX_ROLE_FIGURE;
case blink::WebAXRoleFooter:
return ui::AX_ROLE_FOOTER;
case blink::WebAXRoleForm:
« no previous file with comments | « content/browser/accessibility/dump_accessibility_tree_browsertest.cc ('k') | content/test/data/accessibility/figcaption.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698