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

Unified Diff: components/test_runner/web_test_proxy.cc

Issue 1655153003: Fire an accessible click event when a web node is clicked on. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fire_clicked_event
Patch Set: Created 4 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: components/test_runner/web_test_proxy.cc
diff --git a/components/test_runner/web_test_proxy.cc b/components/test_runner/web_test_proxy.cc
index 2de0450181911acd596e016272e66b6659548af8..3a479af6fe514365d7da5c73c4b1ab819ccc41da 100644
--- a/components/test_runner/web_test_proxy.cc
+++ b/components/test_runner/web_test_proxy.cc
@@ -719,6 +719,9 @@ void WebTestProxyBase::PostAccessibilityEvent(const blink::WebAXObject& obj,
case blink::WebAXEventChildrenChanged:
event_name = "ChildrenChanged";
break;
+ case blink::WebAXEventClicked:
+ event_name = "Clicked";
+ break;
case blink::WebAXEventDocumentSelectionChanged:
event_name = "DocumentSelectionChanged";
break;

Powered by Google App Engine
This is Rietveld 408576698