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

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

Issue 825853002: Expose br tag in AX Tree as ROLE_SYSTEM_WHITESPACE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding br as platform leaf 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.cc
diff --git a/content/renderer/accessibility/blink_ax_enum_conversion.cc b/content/renderer/accessibility/blink_ax_enum_conversion.cc
index 25d46854544e194acb6277f6b7e90119a52c8c5b..a7ede7352ce965f4995e4ff33d256285f64ba8a7 100644
--- a/content/renderer/accessibility/blink_ax_enum_conversion.cc
+++ b/content/renderer/accessibility/blink_ax_enum_conversion.cc
@@ -314,6 +314,8 @@ ui::AXRole AXRoleFromBlink(blink::WebAXRole role) {
return ui::AX_ROLE_TOOLTIP;
case blink::WebAXRoleWebArea:
return ui::AX_ROLE_WEB_AREA;
+ case blink::WebAXRoleLineBreak:
+ return ui::AX_ROLE_LINE_BREAK;
case blink::WebAXRoleWindow:
return ui::AX_ROLE_WINDOW;
default:

Powered by Google App Engine
This is Rietveld 408576698