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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 2842203002: Forward GestureFlingStart in OOPIF, re-enable DCHECK. (Closed)
Patch Set: Add test descriptions, comment. Created 3 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/browser/frame_host/render_widget_host_view_child_frame.cc
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
index 263113a44902c9f2db46367887720c80c1fba973..8c14e80cb67245f110b24e0d70c72d64760eeeb3 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
@@ -343,8 +343,10 @@ void RenderWidgetHostViewChildFrame::GestureEventAck(
return;
if ((event.GetType() == blink::WebInputEvent::kGestureScrollUpdate &&
not_consumed) ||
- event.GetType() == blink::WebInputEvent::kGestureScrollEnd)
+ event.GetType() == blink::WebInputEvent::kGestureScrollEnd ||
+ event.GetType() == blink::WebInputEvent::kGestureFlingStart) {
frame_connector_->BubbleScrollEvent(event);
+ }
}
void RenderWidgetHostViewChildFrame::DidReceiveCompositorFrameAck(
« no previous file with comments | « content/browser/frame_host/cross_process_frame_connector.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698