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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2748463003: Generalize the HIT_TEST accessibility action so that it can send any event. (Closed)
Patch Set: Add automation API binding and test Created 3 years, 9 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/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 29517e02b3c4f00d3d6e0371e8441f5dd647dd54..6e9fe7ab0e651353c50a455b7d3e95c32a18a3a9 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2091,10 +2091,11 @@ void RenderFrameHostImpl::OnAccessibilityFindInPageResult(
void RenderFrameHostImpl::OnAccessibilityChildFrameHitTestResult(
const gfx::Point& point,
- int hit_obj_id) {
+ int hit_obj_id,
+ ui::AXEvent event_to_fire) {
if (browser_accessibility_manager_) {
- browser_accessibility_manager_->OnChildFrameHitTestResult(point,
- hit_obj_id);
+ browser_accessibility_manager_->OnChildFrameHitTestResult(point, hit_obj_id,
+ event_to_fire);
}
}

Powered by Google App Engine
This is Rietveld 408576698