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

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

Issue 874893003: Handles aria-dropeffect after getting its value from blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo Created 5 years, 10 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_tree_source.cc
diff --git a/content/renderer/accessibility/blink_ax_tree_source.cc b/content/renderer/accessibility/blink_ax_tree_source.cc
index 44616e55bd6aceeb160d9c1b767557c80aba2527..3d9ce425984637809da3e71c67ee8191c2104b35 100644
--- a/content/renderer/accessibility/blink_ax_tree_source.cc
+++ b/content/renderer/accessibility/blink_ax_tree_source.cc
@@ -574,6 +574,11 @@ void BlinkAXTreeSource::SerializeNode(blink::WebAXObject src,
ui::AX_ATTR_DESCRIBEDBY_IDS, describedby, dst);
}
+ if (src.ariaDropEffect().length()) {
+ dst->AddStringAttribute(ui::AX_ATTR_DROPEFFECT,
+ UTF16ToUTF8(src.ariaDropEffect()));
+ }
+
WebVector<WebAXObject> flowTo;
if (src.ariaFlowTo(flowTo))
AddIntListAttributeFromWebObjects(ui::AX_ATTR_FLOWTO_IDS, flowTo, dst);

Powered by Google App Engine
This is Rietveld 408576698