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 c89bba6c56f4cf3c9c60626f85bef724b0c5b06e..c647b2caa3d6be48e83211ebfdd10858d683f323 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1858,6 +1858,14 @@ InputEventAckState RenderWidgetHostImpl::FilterInputEvent( |
OnUserGesture(); |
} |
+ if (delegate_) { |
+ if (event.type == WebInputEvent::MouseDown || |
+ event.type == WebInputEvent::GestureTapDown || |
+ event.type == WebInputEvent::RawKeyDown) { |
+ delegate_->OnUserInteraction(event.type); |
+ } |
+ } |
+ |
return view_ ? view_->FilterInputEvent(event) |
: INPUT_EVENT_ACK_STATE_NOT_CONSUMED; |
} |