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

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

Issue 2663283002: scheduler: Detect single event gestures correctly (Closed)
Patch Set: Fix test build failure Created 3 years, 11 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/renderer/input/input_event_filter.h ('k') | content/renderer/input/input_handler_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/input_event_filter.cc
diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
index 160e083394edd83ad5cbac6a66e23900cc49296a..f119ae8e9430ee67cd6e56fdb664b644b6a36601 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -108,9 +108,11 @@ void InputEventFilter::DispatchNonBlockingEventToMainThread(
}
}
-void InputEventFilter::NotifyInputEventHandled(int routing_id,
- blink::WebInputEvent::Type type,
- InputEventAckState ack_result) {
+void InputEventFilter::NotifyInputEventHandled(
+ int routing_id,
+ blink::WebInputEvent::Type type,
+ blink::WebInputEventResult result,
+ InputEventAckState ack_result) {
DCHECK(main_task_runner_->BelongsToCurrentThread());
scoped_refptr<MainThreadEventQueue> queue;
{
@@ -121,7 +123,7 @@ void InputEventFilter::NotifyInputEventHandled(int routing_id,
queue = iter->second;
}
- queue->EventHandled(type, ack_result);
+ queue->EventHandled(type, result, ack_result);
}
void InputEventFilter::ProcessRafAlignedInput(int routing_id) {
« no previous file with comments | « content/renderer/input/input_event_filter.h ('k') | content/renderer/input/input_handler_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698