Index: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
index e997fc4b88f61e7f04516f37bec3f6c4533c09df..0b19edb5c5b5fc2bc727d37f59ad12f4d760ed28 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
@@ -1310,11 +1310,39 @@ String AXObjectCacheImpl::computedNameForNode(Node* node) |
return obj->computedName(); |
} |
-void AXObjectCacheImpl::onTouchAccessibilityHover(const IntPoint& location) |
+void AXObjectCacheImpl::onAccessibilityMouseDown(const IntPoint& location) |
{ |
AXObject* hit = root()->accessibilityHitTest(location); |
if (hit) |
- postPlatformNotification(hit, AXHover); |
+ postPlatformNotification(hit, AXMousePressed); |
+} |
+ |
+void AXObjectCacheImpl::onAccessibilityMouseUp(const IntPoint& location) |
+{ |
+ AXObject* hit = root()->accessibilityHitTest(location); |
+ if (hit) |
+ postPlatformNotification(hit, AXMouseReleased); |
+} |
+ |
+void AXObjectCacheImpl::onAccessibilityMouseMove(const IntPoint& location) |
+{ |
+ AXObject* hit = root()->accessibilityHitTest(location); |
+ if (hit) |
+ postPlatformNotification(hit, AXMouseMoved); |
+} |
+ |
+void AXObjectCacheImpl::onAccessibilityMouseEnter(const IntPoint& location) |
+{ |
+ AXObject* hit = root()->accessibilityHitTest(location); |
+ if (hit) |
+ postPlatformNotification(hit, AXMouseEntered); |
+} |
+ |
+void AXObjectCacheImpl::onAccessibilityMouseLeave(const IntPoint& location) |
+{ |
+ AXObject* hit = root()->accessibilityHitTest(location); |
+ if (hit) |
+ postPlatformNotification(hit, AXMouseExited); |
} |
void AXObjectCacheImpl::setCanvasObjectBounds(Element* element, const LayoutRect& rect) |