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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 290633002: Implement Android accessible hit testing using an IPC to the renderer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@better_logging_2
Patch Set: Tweak to algorithm to find highest leaf ancestor Created 6 years, 7 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/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 24ff901dd48668f1c2535abbbab177c40cacb89e..9adc28c0ad9381ed123b43f155f75ef0cbc24ab4 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -2038,6 +2038,10 @@ gfx::Point RenderWidgetHostImpl::AccessibilityOriginInScreen(
return view_->AccessibilityOriginInScreen(bounds);
}
+void RenderWidgetHostImpl::AccessibilityHitTest(const gfx::Point& point) {
+ Send(new AccessibilityMsg_HitTest(GetRoutingID(), point));
jam 2014/05/20 04:31:14 nit: routing_id_ (I know there are examples of the
+}
+
void RenderWidgetHostImpl::AccessibilityFatalError() {
Send(new AccessibilityMsg_FatalError(GetRoutingID()));
view_->SetBrowserAccessibilityManager(NULL);

Powered by Google App Engine
This is Rietveld 408576698