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

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

Issue 2265393002: Refactor compositor event handling path to be callback-based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: creis's review, rebase Created 4 years, 3 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/renderer/input/input_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4126a9555220b0ecc479ce1b4970b33a8deaf1f3..e45e3a99e2f9e0a04cf6662fc90940707e11032d 100644
--- a/content/renderer/input/input_event_filter.h
+++ b/content/renderer/input/input_event_filter.h
@@ -100,6 +100,13 @@ class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
void ForwardToHandler(const IPC::Message& message,
base::TimeTicks received_time);
+ void DidForwardToHandlerAndOverscroll(
+ int routing_id,
+ InputEventDispatchType dispatch_type,
+ InputEventAckState ack_state,
+ ui::ScopedWebInputEvent event,
+ const ui::LatencyInfo& latency_info,
+ std::unique_ptr<ui::DidOverscrollParams> overscroll_params);
void SendMessage(std::unique_ptr<IPC::Message> message);
void SendMessageOnIOThread(std::unique_ptr<IPC::Message> message);
void SetIsFlingingInMainThreadEventQueue(int routing_id, bool is_flinging);
@@ -126,11 +133,6 @@ class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
std::unordered_map<int, scoped_refptr<MainThreadEventQueue>>;
RouteQueueMap route_queues_;
- // Used to intercept overscroll notifications while an event is being
- // dispatched. If the event causes overscroll, the overscroll metadata can be
- // bundled in the event ack, saving an IPC. Note that we must continue
- // supporting overscroll IPC notifications due to fling animation updates.
- std::unique_ptr<ui::DidOverscrollParams>* current_overscroll_params_;
blink::scheduler::RendererScheduler* renderer_scheduler_;
};
« no previous file with comments | « no previous file | content/renderer/input/input_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698