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

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

Issue 2713093005: Teach MainThreadEventQueue about touchmove throttling. (Closed)
Patch Set: Roll if/else condition together Created 3 years, 10 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 | « content/renderer/input/input_event_filter.h ('k') | content/renderer/input/input_handler_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/input_event_filter.cc
diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
index 7b268c07c9fc14fad66a4de3f19986dfe005c076..1cb4efe7ea2e119301d96a7ecc5b513f668d2f05 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -126,7 +126,8 @@ void InputEventFilter::NotifyInputEventHandled(
queue->EventHandled(type, result, ack_result);
}
-void InputEventFilter::ProcessRafAlignedInput(int routing_id) {
+void InputEventFilter::ProcessRafAlignedInput(int routing_id,
+ base::TimeTicks frame_time) {
DCHECK(main_task_runner_->BelongsToCurrentThread());
scoped_refptr<MainThreadEventQueue> queue;
{
@@ -137,7 +138,7 @@ void InputEventFilter::ProcessRafAlignedInput(int routing_id) {
queue = iter->second;
}
- queue->DispatchRafAlignedInput();
+ queue->DispatchRafAlignedInput(frame_time);
}
void InputEventFilter::OnFilterAdded(IPC::Channel* channel) {
« no previous file with comments | « content/renderer/input/input_event_filter.h ('k') | content/renderer/input/input_handler_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698