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

Unified Diff: content/renderer/input/input_event_filter.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/input_event_filter.h
diff --git a/content/renderer/input/input_event_filter.h b/content/renderer/input/input_event_filter.h
index e4bbb72eab7e005405e710b46557685957bab867..1bfed0eea12913fb66fa84e7ee6e6dc5646d3a1e 100644
--- a/content/renderer/input/input_event_filter.h
+++ b/content/renderer/input/input_event_filter.h
@@ -16,7 +16,7 @@
#include "content/renderer/input/input_handler_manager_client.h"
#include "content/renderer/input/main_thread_event_queue.h"
#include "ipc/message_filter.h"
-#include "third_party/WebKit/public/platform/WebInputEvent.h"
+#include "third_party/WebKit/public/platform/CoalescedWebInputEvent.h"
namespace base {
class SingleThreadTaskRunner;
@@ -68,7 +68,7 @@ class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
void DidStopFlinging(int routing_id) override;
void DispatchNonBlockingEventToMainThread(
int routing_id,
- ui::ScopedWebInputEvent event,
+ blink::CoalescedWebInputEvent::ScopedWebInputEvent event,
const ui::LatencyInfo& latency_info) override;
void NotifyInputEventHandled(int routing_id,
@@ -84,7 +84,7 @@ class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
// MainThreadEventQueueClient methods:
void HandleEventOnMainThread(int routing_id,
- const blink::WebInputEvent* event,
+ const blink::CoalescedWebInputEvent* event,
const ui::LatencyInfo& latency,
InputEventDispatchType dispatch_type) override;
// Send an InputEventAck IPC message. |touch_event_id| represents
@@ -106,7 +106,7 @@ class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
int routing_id,
InputEventDispatchType dispatch_type,
InputEventAckState ack_state,
- ui::ScopedWebInputEvent event,
+ blink::ScopedCoalescedWebInputEvent event,
const ui::LatencyInfo& latency_info,
std::unique_ptr<ui::DidOverscrollParams> overscroll_params);
void SendMessage(std::unique_ptr<IPC::Message> message);

Powered by Google App Engine
This is Rietveld 408576698