Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index 3489495b7ac597a6e5bd785e8b7144d8eb3894e6..f250f32517a8a3f81a7e34c079577e1c4c9f2323 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -494,6 +494,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl |
// event and 2) enter or space key presses. |
virtual void OnUserGesture() {} |
+ // Notification that the user has made some kind of direct input with the |
+ // page. Direct input includes 1) any mouse down event; 2) any mouse wheel |
+ // event; 3) any raw key down event; and 4) any gesture tap event. |
+ virtual void OnUserInput(const blink::WebInputEvent::Type type) {} |
+ |
// Callbacks for notification when the renderer becomes unresponsive to user |
// input events, and subsequently responsive again. |
virtual void NotifyRendererUnresponsive() {} |