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

Unified Diff: ui/events/blink/web_input_event_traits.cc

Issue 2882443002: Tiimer based phase info generated for mouse wheel events. (Closed)
Patch Set: debouncing queue disabled to count sent messages properly Created 3 years, 7 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: ui/events/blink/web_input_event_traits.cc
diff --git a/ui/events/blink/web_input_event_traits.cc b/ui/events/blink/web_input_event_traits.cc
index 706fe9f86e5d44f4037765cd9fe70dd771d63c09..b4f33d13b068203ff2a34dc174e9d663e4d7b7c2 100644
--- a/ui/events/blink/web_input_event_traits.cc
+++ b/ui/events/blink/web_input_event_traits.cc
@@ -220,6 +220,11 @@ bool WebInputEventTraits::ShouldBlockEventStream(
// Touch move events may be non-blocking but are always explicitly
// acknowledge by the renderer so they block the event stream.
return true;
+
+ case WebInputEvent::kMouseWheel:
+ return static_cast<const WebMouseWheelEvent&>(event).dispatch_type ==
bokan 2017/05/18 16:47:01 How is this related to this change?
sahel 2017/05/18 18:15:15 When a GSB with touch source arrives, we should st
+ WebInputEvent::kBlocking;
+
default:
return true;
}

Powered by Google App Engine
This is Rietveld 408576698