| Index: remoting/host/remote_input_filter.cc
|
| diff --git a/remoting/host/remote_input_filter.cc b/remoting/host/remote_input_filter.cc
|
| index 2b2833458f3e025576236c2feb0c42c47f717fdf..3201431f49423f0e9146ac59b77efd8b423693a9 100644
|
| --- a/remoting/host/remote_input_filter.cc
|
| +++ b/remoting/host/remote_input_filter.cc
|
| @@ -95,6 +95,12 @@ void RemoteInputFilter::InjectMouseEvent(const protocol::MouseEvent& event) {
|
| event_tracker_->InjectMouseEvent(event);
|
| }
|
|
|
| +void RemoteInputFilter::InjectTouchEvent(const protocol::TouchEvent& event) {
|
| + if (ShouldIgnoreInput())
|
| + return;
|
| + event_tracker_->InjectTouchEvent(event);
|
| +}
|
| +
|
| bool RemoteInputFilter::ShouldIgnoreInput() const {
|
| // Ignore remote events if the local mouse moved recently.
|
| int64 millis =
|
|
|