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

Unified Diff: content/renderer/input/render_widget_input_handler.cc

Issue 2557153002: Fix issues related to a continuous event getting coalesced with a discrete event. (Closed)
Patch Set: Fix nits Created 4 years 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/renderer/input/main_thread_event_queue_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/render_widget_input_handler.cc
diff --git a/content/renderer/input/render_widget_input_handler.cc b/content/renderer/input/render_widget_input_handler.cc
index f9686ca81ecb931de895df0353d0258641cb4b88..c25fbd0fe6e208369262e316d8f05be0247400ae 100644
--- a/content/renderer/input/render_widget_input_handler.cc
+++ b/content/renderer/input/render_widget_input_handler.cc
@@ -397,7 +397,8 @@ void RenderWidgetInputHandler::HandleInputEvent(
TRACE_EVENT_SYNTHETIC_DELAY_END("blink.HandleInputEvent");
- if (dispatch_type == DISPATCH_TYPE_BLOCKING_NOTIFY_MAIN) {
+ if (dispatch_type == DISPATCH_TYPE_BLOCKING_NOTIFY_MAIN ||
+ dispatch_type == DISPATCH_TYPE_NON_BLOCKING_NOTIFY_MAIN) {
// |non_blocking| means it was ack'd already by the InputHandlerProxy
// so let the delegate know the event has been handled.
delegate_->NotifyInputEventHandled(input_event.type, ack_result);
« no previous file with comments | « content/renderer/input/main_thread_event_queue_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698