Index: content/browser/renderer_host/render_view_host_delegate.h |
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h |
index 9a451590f98099a37a86afb20d4c47b29fb4015c..994b4f1460c15bcb2471667cb512203e0d54b209 100644 |
--- a/content/browser/renderer_host/render_view_host_delegate.h |
+++ b/content/browser/renderer_host/render_view_host_delegate.h |
@@ -15,6 +15,7 @@ |
#include "content/common/content_export.h" |
#include "net/base/load_states.h" |
#include "third_party/WebKit/public/platform/WebDisplayMode.h" |
+#include "third_party/WebKit/public/web/WebInputEvent.h" |
#include "third_party/WebKit/public/web/WebPopupType.h" |
#include "ui/base/window_open_disposition.h" |
@@ -140,6 +141,11 @@ class CONTENT_EXPORT RenderViewHostDelegate { |
// bombing), see DownloadRequestLimiter for details. |
virtual void OnUserGesture() {} |
+ // Notification the user has performed a direct input while focus was on the |
+ // page. This is used to inform the delegate that a user is interacting with |
+ // a site. |
+ virtual void OnUserInput(const blink::WebInputEvent::Type type) {} |
+ |
// Notification from the renderer host that blocked UI event occurred. |
// This happens when there are tab-modal dialogs. In this case, the |
// notification is needed to let us draw attention to the dialog (i.e. |