| Index: remoting/protocol/client_event_dispatcher.cc
|
| diff --git a/remoting/protocol/client_event_dispatcher.cc b/remoting/protocol/client_event_dispatcher.cc
|
| index 89e4bcf8cbe14cf94c5085f06c8bc4e8baa1a5fb..43507468b8a4641b8c3ba5d96ffbd312201d8b1b 100644
|
| --- a/remoting/protocol/client_event_dispatcher.cc
|
| +++ b/remoting/protocol/client_event_dispatcher.cc
|
| @@ -46,5 +46,12 @@ void ClientEventDispatcher::InjectMouseEvent(const MouseEvent& event) {
|
| writer()->Write(SerializeAndFrameMessage(message), base::Closure());
|
| }
|
|
|
| +void ClientEventDispatcher::InjectTouchEvent(const TouchEvent& event) {
|
| + EventMessage message;
|
| + message.set_timestamp(base::Time::Now().ToInternalValue());
|
| + message.mutable_touch_event()->CopyFrom(event);
|
| + writer()->Write(SerializeAndFrameMessage(message), base::Closure());
|
| +}
|
| +
|
| } // namespace protocol
|
| } // namespace remoting
|
|
|