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

Unified Diff: content/renderer/input/input_handler_manager.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_handler_manager.h
diff --git a/content/renderer/input/input_handler_manager.h b/content/renderer/input/input_handler_manager.h
index e8da149e30b17ff0292c49782d53a3fdba93d1e4..770b2e468f37b39c2b0198b95951d556bdbe9e57 100644
--- a/content/renderer/input/input_handler_manager.h
+++ b/content/renderer/input/input_handler_manager.h
@@ -82,12 +82,12 @@ class CONTENT_EXPORT InputHandlerManager {
using InputEventAckStateCallback =
base::Callback<void(InputEventAckState,
- ui::ScopedWebInputEvent,
+ blink::ScopedCoalescedWebInputEvent,
const ui::LatencyInfo&,
std::unique_ptr<ui::DidOverscrollParams>)>;
// Called from the compositor's thread.
virtual void HandleInputEvent(int routing_id,
- ui::ScopedWebInputEvent input_event,
+ blink::ScopedCoalescedWebInputEvent input_event,
const ui::LatencyInfo& latency_info,
const InputEventAckStateCallback& callback);
@@ -106,7 +106,7 @@ class CONTENT_EXPORT InputHandlerManager {
// Called from the compositor's thread.
void DispatchNonBlockingEventToMainThread(
int routing_id,
- ui::ScopedWebInputEvent event,
+ blink::ScopedCoalescedWebInputEvent event,
const ui::LatencyInfo& latency_info);
private:
@@ -134,7 +134,7 @@ class CONTENT_EXPORT InputHandlerManager {
void DidHandleInputEventAndOverscroll(
const InputEventAckStateCallback& callback,
ui::InputHandlerProxy::EventDisposition event_disposition,
- ui::ScopedWebInputEvent input_event,
+ blink::ScopedCoalescedWebInputEvent input_event,
const ui::LatencyInfo& latency_info,
std::unique_ptr<ui::DidOverscrollParams> overscroll_params);

Powered by Google App Engine
This is Rietveld 408576698