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

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

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent 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/input/render_widget_input_handler.h
diff --git a/content/renderer/input/render_widget_input_handler.h b/content/renderer/input/render_widget_input_handler.h
index 43b494fd794ba755bb2054d66641e9cb50470431..cb7093fd669af978a9febc7d30b4bc217f892faf 100644
--- a/content/renderer/input/render_widget_input_handler.h
+++ b/content/renderer/input/render_widget_input_handler.h
@@ -11,7 +11,7 @@
#include "base/time/time.h"
#include "content/common/input/input_event_ack.h"
#include "content/common/input/input_event_dispatch_type.h"
-#include "third_party/WebKit/public/platform/WebInputEvent.h"
+#include "third_party/WebKit/public/platform/CoalescedWebInputEvent.h"
#include "ui/base/ui_base_types.h"
#include "ui/events/blink/did_overscroll_params.h"
@@ -38,9 +38,10 @@ class CONTENT_EXPORT RenderWidgetInputHandler {
virtual ~RenderWidgetInputHandler();
// Handle input events from the input event provider.
- virtual void HandleInputEvent(const blink::WebInputEvent& input_event,
- const ui::LatencyInfo& latency_info,
- InputEventDispatchType dispatch_type);
+ virtual void HandleInputEvent(
+ const blink::CoalescedWebInputEvent& coalesced_event,
+ const ui::LatencyInfo& latency_info,
+ InputEventDispatchType dispatch_type);
// Handle overscroll from Blink.
void DidOverscrollFromBlink(

Powered by Google App Engine
This is Rietveld 408576698