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 880589292c94fb996b476284bfa2b1fc6d230bab..ecfc7527baff9829abcb1ee127501f1f52e37eb9 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 interaction while focus was on |
+ // the page. This is used to inform the delegate that a user is interacting |
+ // with a site. |
+ virtual void OnUserInteraction(const blink::WebInputEvent::Type type) {} |
nasko
2015/10/27 13:41:19
The RenderViewHost object is deprecated and active
dominickn
2015/10/27 23:21:53
Done.
|
+ |
// 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. |