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

Unified Diff: content/browser/renderer_host/input/input_router_impl.cc

Issue 2869823003: [VSync Queue] Plug touch ack to gesture events and flush vsync queue if necessary (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | content/browser/renderer_host/input/legacy_touch_event_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/input_router_impl.cc
diff --git a/content/browser/renderer_host/input/input_router_impl.cc b/content/browser/renderer_host/input/input_router_impl.cc
index 4f00ab21454f89b16da290c120eb65ed6f9dd71e..875dde60ddecbc2bb4d32abf0f12648fce0da115 100644
--- a/content/browser/renderer_host/input/input_router_impl.cc
+++ b/content/browser/renderer_host/input/input_router_impl.cc
@@ -188,6 +188,10 @@ void InputRouterImpl::SendGestureEvent(
touch_scroll_started_sent_ = true;
touch_event_queue_->PrependTouchScrollNotification();
}
+ gesture_event.event.source_touch_event_dispatch_type =
+ touch_event_queue_->SendTouchEventsAsync()
dtapuska 2017/05/10 14:49:00 I don't think we really should query the state her
chongz 2017/05/24 13:47:09 Done.
+ ? WebInputEvent::kEventNonBlocking
+ : WebInputEvent::kBlocking;
touch_event_queue_->OnGestureScrollEvent(gesture_event);
}
« no previous file with comments | « no previous file | content/browser/renderer_host/input/legacy_touch_event_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698