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

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

Issue 671033002: Expose HTML pre tag with correct MSAA+IA2 Role (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Uploading expectations for mac and android Created 6 years, 2 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 af951bf3e20b5e0a546d1defe1da7684db5c7822..f3a159d02ae34a93f1d9f0ecd39cd3af7ef5bcac 100644
--- a/content/renderer/accessibility/blink_ax_enum_conversion.cc
+++ b/content/renderer/accessibility/blink_ax_enum_conversion.cc
@@ -242,6 +242,8 @@ ui::AXRole AXRoleFromBlink(blink::WebAXRole role) {
return ui::AX_ROLE_PARAGRAPH;
case blink::WebAXRolePopUpButton:
return ui::AX_ROLE_POP_UP_BUTTON;
+ case blink::WebAXRolePre:
+ return ui::AX_ROLE_PRE;
case blink::WebAXRolePresentational:
return ui::AX_ROLE_PRESENTATIONAL;
case blink::WebAXRoleProgressIndicator:

Powered by Google App Engine
This is Rietveld 408576698