Chromium Code Reviews| Index: third_party/WebKit/Source/core/events/EventDispatcher.cpp |
| diff --git a/third_party/WebKit/Source/core/events/EventDispatcher.cpp b/third_party/WebKit/Source/core/events/EventDispatcher.cpp |
| index f6ad638c6b532bcaeeb316a0ee4f10f7288d01d3..94a0a2b35bccd04cde2979de53eb3c65ff7d2ad8 100644 |
| --- a/third_party/WebKit/Source/core/events/EventDispatcher.cpp |
| +++ b/third_party/WebKit/Source/core/events/EventDispatcher.cpp |
| @@ -199,6 +199,10 @@ inline void EventDispatcher::dispatchEventPostProcess(void* preDispatchEventHand |
| m_event->setCurrentTarget(nullptr); |
| m_event->setEventPhase(0); |
| + // Fire an accessibility event indicating a node was clicked on. |
| + if (AXObjectCache* cache = m_node->document().existingAXObjectCache()) |
| + cache->handleClicked(m_node); |
|
Rick Byers
2016/02/02 18:22:57
This is being called for ALL types of events (not
dmazzoni
2016/02/02 18:35:48
Oops, I had a line of code that checked for the ev
Rick Byers
2016/02/02 18:55:37
Ok. Please share the logic with the isTrustedOrCl
|
| + |
| // Pass the data from the preDispatchEventHandler to the postDispatchEventHandler. |
| m_node->postDispatchEventHandler(m_event.get(), preDispatchEventHandlerResult); |