Index: content/port/browser/render_widget_host_view_port.h |
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h |
index 528ac864e92ad70d72b5464b9e92921450ce8d6e..eaebd1a4a5e235fc24b08fa3c82b35ca65e02008 100644 |
--- a/content/port/browser/render_widget_host_view_port.h |
+++ b/content/port/browser/render_widget_host_view_port.h |
@@ -288,8 +288,12 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, |
virtual void SetScrollOffsetPinning( |
bool is_pinned_to_left, bool is_pinned_to_right) = 0; |
- // Called when a mousewheel event was not processed by the renderer. |
- virtual void UnhandledWheelEvent(const blink::WebMouseWheelEvent& event) = 0; |
+ // When a wheel event is first received, it is sent to the renderer. This |
+ // method is invoked once the renderer, and |delegate_| have been given a |
+ // chance to process the wheel event. |consumed| indicates whether either |
+ // chose to process the |event|. At most one entity should consume an event. |
+ virtual void HandledWheelEvent(const blink::WebMouseWheelEvent& event, |
+ bool consumed) = 0; |
// Called prior to forwarding input event messages to the renderer, giving |
// the view a chance to perform in-process event filtering or processing. |