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 a0399783988e64a7d0a00a3e59de5b6c607d0474..f7ba1287682e7cf1b4ada2bc6164ae745a21dddf 100644 |
--- a/content/renderer/input/input_event_filter.cc |
+++ b/content/renderer/input/input_event_filter.cc |
@@ -65,6 +65,24 @@ void InputEventFilter::DidOverscroll(int routing_id, |
params.current_fling_velocity))); |
} |
+void InputEventFilter::DidStartFlinging(int routing_id) { |
+ DCHECK(target_loop_->BelongsToCurrentThread()); |
+ |
+ io_loop_->PostTask( |
jdduke (slow)
2014/01/10 17:45:59
Now that we have a good number of methods posting
Xianzhu
2014/01/10 20:16:02
Done.
|
+ FROM_HERE, |
+ base::Bind(&InputEventFilter::SendMessageOnIOThread, this, |
+ ViewHostMsg_DidStartFlinging(routing_id))); |
+} |
+ |
+void InputEventFilter::DidStopFlinging(int routing_id) { |
+ DCHECK(target_loop_->BelongsToCurrentThread()); |
+ |
+ io_loop_->PostTask( |
+ FROM_HERE, |
+ base::Bind(&InputEventFilter::SendMessageOnIOThread, this, |
+ ViewHostMsg_DidStopFlinging(routing_id))); |
+} |
+ |
void InputEventFilter::OnFilterAdded(IPC::Channel* channel) { |
io_loop_ = base::MessageLoopProxy::current(); |
sender_ = channel; |