| Index: content/browser/renderer_host/render_widget_host_delegate.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
|
| index 5a20a8d8b78b45aa9eb99180addc96163a7072a2..c6299ffca999b8fb06c47c05f7468f010dea2b2c 100644
|
| --- a/content/browser/renderer_host/render_widget_host_delegate.h
|
| +++ b/content/browser/renderer_host/render_widget_host_delegate.h
|
| @@ -8,6 +8,7 @@
|
| #include "base/basictypes.h"
|
| #include "build/build_config.h"
|
| #include "content/common/content_export.h"
|
| +#include "third_party/WebKit/public/web/WebInputEvent.h"
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| namespace blink {
|
| @@ -64,6 +65,11 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
|
| // the event itself.
|
| virtual bool HandleWheelEvent(const blink::WebMouseWheelEvent& event);
|
|
|
| + // Notification the user has performed a direct interaction (mouse down, raw
|
| + // key down, or gesture tap) 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) {}
|
| +
|
| // Callback to give the browser a chance to handle the specified gesture
|
| // event before sending it to the renderer.
|
| // Returns true if the |event| was handled.
|
|
|