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 4c0fea95f6e5c73204fab031a5bdd1225a292eef..20264e6ec03b6ae86bae2ccadf7595a31e993f41 100644 |
--- a/content/browser/renderer_host/render_widget_host_delegate.h |
+++ b/content/browser/renderer_host/render_widget_host_delegate.h |
@@ -79,21 +79,17 @@ class CONTENT_EXPORT RenderWidgetHostDelegate { |
virtual bool HandleWheelEvent(const blink::WebMouseWheelEvent& event); |
// Notification the user has performed a direct interaction (mouse down, mouse |
- // wheel, raw key down, or gesture tap) while focus was on the page. Informs |
- // the delegate that a user is interacting with a site. Only the first mouse |
- // wheel event during a scroll will trigger this method. |
- virtual void OnUserInteraction(const blink::WebInputEvent::Type type) {} |
+ // wheel, raw key down, gesture tap, or browser navigation) while focus was on |
Charlie Reis
2016/02/25 18:28:02
nit: browser-initiated navigation
dominickn
2016/02/26 00:36:11
Done.
|
+ // the page. Informs the delegate that a user is interacting with a site. Only |
+ // the first mouse wheel event during a scroll will trigger this method. |
+ virtual void OnUserInteraction(RenderWidgetHostImpl* render_widget_host, |
+ 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. |
virtual bool PreHandleGestureEvent(const blink::WebGestureEvent& event); |
- // Notification the user has made a gesture while focus was on the |
- // page. This is used to avoid uninitiated user downloads (aka carpet |
- // bombing), see DownloadRequestLimiter for details. |
- virtual void OnUserGesture(RenderWidgetHostImpl* render_widget_host) {} |
- |
// Notifies that screen rects were sent to renderer process. |
virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) {} |