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

Unified Diff: content/renderer/render_widget.cc

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Created 4 years, 1 month 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/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index 57bb2085f61e3f419307f96fb827956bc7ba7206..4d7b7084875b4a9a5016f55416c562d3a3ae26d1 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -666,12 +666,15 @@ GURL RenderWidget::GetURLForGraphicsContext3D() {
return GURL();
}
-void RenderWidget::OnHandleInputEvent(const blink::WebInputEvent* input_event,
- const ui::LatencyInfo& latency_info,
- InputEventDispatchType dispatch_type) {
+void RenderWidget::OnHandleInputEvent(
+ const blink::WebInputEvent* input_event,
+ const std::vector<const blink::WebInputEvent*>& coalescedEvents,
+ const ui::LatencyInfo& latency_info,
+ InputEventDispatchType dispatch_type) {
if (!input_event)
return;
- input_handler_->HandleInputEvent(*input_event, latency_info, dispatch_type);
+ input_handler_->HandleInputEvent(*input_event, coalescedEvents, latency_info,
+ dispatch_type);
}
void RenderWidget::OnCursorVisibilityChange(bool is_visible) {

Powered by Google App Engine
This is Rietveld 408576698