Index: content/browser/accessibility/browser_accessibility_manager.cc |
diff --git a/content/browser/accessibility/browser_accessibility_manager.cc b/content/browser/accessibility/browser_accessibility_manager.cc |
index b5a9a5879884d4b37a606e46efab8b81e3c514a8..48c5571f299c26402d13c0720b38f941691324ff 100644 |
--- a/content/browser/accessibility/browser_accessibility_manager.cc |
+++ b/content/browser/accessibility/browser_accessibility_manager.cc |
@@ -458,7 +458,8 @@ void BrowserAccessibilityManager::OnFindInPageResult( |
void BrowserAccessibilityManager::OnChildFrameHitTestResult( |
const gfx::Point& point, |
- int hit_obj_id) { |
+ int hit_obj_id, |
+ ui::AXEvent event_to_fire) { |
BrowserAccessibility* obj = GetFromID(hit_obj_id); |
if (!obj || !obj->HasIntAttribute(ui::AX_ATTR_CHILD_TREE_ID)) |
return; |
@@ -472,6 +473,7 @@ void BrowserAccessibilityManager::OnChildFrameHitTestResult( |
ui::AXActionData action_data; |
action_data.target_point = point; |
action_data.action = ui::AX_ACTION_HIT_TEST; |
+ action_data.hit_test_event_to_fire = event_to_fire; |
return child_manager->delegate()->AccessibilityPerformAction(action_data); |
} |
@@ -729,6 +731,7 @@ void BrowserAccessibilityManager::HitTest(const gfx::Point& point) { |
ui::AXActionData action_data; |
action_data.action = ui::AX_ACTION_HIT_TEST; |
action_data.target_point = point; |
+ action_data.hit_test_event_to_fire = ui::AX_EVENT_HOVER; |
delegate_->AccessibilityPerformAction(action_data); |
} |