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

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

Issue 954973003: Always forward touch events to the TouchEventQueue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More validation Created 5 years, 10 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/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index c70e0cc831ecfc5c96eedd3a38f85f5fc01e6c8d..98c51ce6bfccccbaede49d71b67c0803a68280df 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -1911,17 +1911,6 @@ bool RenderWidgetHostImpl::IgnoreInputEvents() const {
return ignore_input_events_ || process_->IgnoreInputEvents();
}
-bool RenderWidgetHostImpl::ShouldForwardTouchEvent() const {
- // It's important that the emulator sees a complete native touch stream,
- // allowing it to perform touch filtering as appropriate.
- // TODO(dgozman): Remove when touch stream forwarding issues resolved, see
- // crbug.com/375940.
- if (touch_emulator_ && touch_emulator_->enabled())
- return true;
-
- return input_router_->ShouldForwardTouchEvent();
-}
-
void RenderWidgetHostImpl::StartUserGesture() {
OnUserGesture();
}
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | content/browser/renderer_host/render_widget_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698