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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.cc

Issue 2815823003: Notify OverscrollController of gesture events in plugins. (Closed)
Patch Set: Rebase. Created 3 years, 7 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_base.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_base.cc b/content/browser/renderer_host/render_widget_host_view_base.cc
index 86a78504f2e40e068307aca9e6933cafe6a49954..9ade0ba680cccfb11807bce848edf7fb62a6ba6c 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.cc
+++ b/content/browser/renderer_host/render_widget_host_view_base.cc
@@ -184,6 +184,12 @@ InputEventAckState RenderWidgetHostViewBase::FilterInputEvent(
return INPUT_EVENT_ACK_STATE_NOT_CONSUMED;
}
+InputEventAckState RenderWidgetHostViewBase::FilterChildGestureEvent(
+ const blink::WebGestureEvent& gesture_event) {
+ // By default, do nothing with the child's gesture events.
+ return INPUT_EVENT_ACK_STATE_NOT_CONSUMED;
+}
+
void RenderWidgetHostViewBase::WheelEventAck(
const blink::WebMouseWheelEvent& event,
InputEventAckState ack_result) {
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698