Index: content/browser/renderer_host/render_widget_host_view_base.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h |
index 75baf81a43417a9ce616a9bee71b1cdc7b39b9a8..5b3070da26997d5d972ab4b78e4fd13280015272 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_base.h |
+++ b/content/browser/renderer_host/render_widget_host_view_base.h |
@@ -178,6 +178,14 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
// enabled. |
virtual uint32_t GetSurfaceIdNamespace(); |
+ // When there are multiple RenderWidgetHostViews for a single page, input |
+ // events need to be targeted to the correct one for handling. The following |
+ // methods are invoked on the RenderWidgetHostView that should be able to |
+ // properly handle the event (i.e. it has focus for keyboard events, or has |
+ // been identified by hit testing mouse, touch or gesture events). |
+ virtual uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point, |
+ gfx::Point* transformed_point); |
+ |
//---------------------------------------------------------------------------- |
// The following static methods are implemented by each platform. |