Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: content/port/browser/render_widget_host_view_port.h

Issue 227043012: mac: History swiping doesn't work right with iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comment from avi. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698