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

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

Issue 12087140: Suppress touchscreen tap immediately after a GestureFlingCancel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Allowed GFC Ack in NOTHING state + Resolved a link error on win Created 7 years, 9 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 2c9d0d2cb200ad954da2e802efaa9533c3f01721..e7bb1f29e588230fea6720adf76fb77372166fca 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -918,11 +918,11 @@ void RenderWidgetHostImpl::ForwardMouseEvent(const WebMouseEvent& mouse_event) {
}
if (mouse_event.type == WebInputEvent::MouseDown &&
- gesture_event_filter_->GetTapSuppressionController()->
+ gesture_event_filter_->GetTouchpadTapSuppressionController()->
ShouldDeferMouseDown(mouse_event))
return;
if (mouse_event.type == WebInputEvent::MouseUp &&
- gesture_event_filter_->GetTapSuppressionController()->
+ gesture_event_filter_->GetTouchpadTapSuppressionController()->
ShouldSuppressMouseUp())
return;
@@ -1000,7 +1000,7 @@ void RenderWidgetHostImpl::ForwardGestureEvent(
}
// Forwards MouseEvent without passing it through
-// TouchpadTapSuppressionController
+// TouchpadTapSuppressionController.
void RenderWidgetHostImpl::ForwardMouseEventImmediately(
const WebMouseEvent& mouse_event) {
TRACE_EVENT2("renderer_host",

Powered by Google App Engine
This is Rietveld 408576698