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

Unified Diff: content/renderer/input/render_widget_input_handler.h

Issue 2951053005: Add Mojo API for Blink hit testing (Closed)
Patch Set: Address Rob's comments Created 3 years, 4 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/renderer/input/render_widget_input_handler.h
diff --git a/content/renderer/input/render_widget_input_handler.h b/content/renderer/input/render_widget_input_handler.h
index 611ff3a19832829770e242ff0045b11ef440e13e..680434dc98b47d4e873ce5f69053c5496b951014 100644
--- a/content/renderer/input/render_widget_input_handler.h
+++ b/content/renderer/input/render_widget_input_handler.h
@@ -38,6 +38,9 @@ class CONTENT_EXPORT RenderWidgetInputHandler {
RenderWidget* widget);
virtual ~RenderWidgetInputHandler();
+ // Hit test the given point to find out the frame underneath.
+ int HitTestFrameAt(const gfx::Point& point);
+
// Handle input events from the input event provider.
virtual void HandleInputEvent(
const blink::WebCoalescedInputEvent& coalesced_event,
« no previous file with comments | « content/renderer/input/frame_input_handler_impl.cc ('k') | content/renderer/input/render_widget_input_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698