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

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

Issue 592683002: Adds conversion rule for WebAXRoleNone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding expectations for Mac and android 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 fc71b5ce3c4f15e2bab01b5d26314af668223132..ffca006f4c9bdc991dce93c112ee4f14e57675aa 100644
--- a/content/renderer/accessibility/blink_ax_enum_conversion.cc
+++ b/content/renderer/accessibility/blink_ax_enum_conversion.cc
@@ -216,6 +216,8 @@ ui::AXRole AXRoleFromBlink(blink::WebAXRole role) {
return ui::AX_ROLE_MENU_LIST_POPUP;
case blink::WebAXRoleNavigation:
return ui::AX_ROLE_NAVIGATION;
+ case blink::WebAXRoleNone:
+ return ui::AX_ROLE_NONE;
case blink::WebAXRoleNote:
return ui::AX_ROLE_NOTE;
case blink::WebAXRoleOutline:

Powered by Google App Engine
This is Rietveld 408576698